Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
rbenv に移行した時にやったこと
  • rvm を使わないようにする
$ mkdir rvm_backup
$ mv ~/.rvm rvm_backup
$ vi ~/.bashrc           #rvmの記載を消す
$ vi ~/.bash_profile     #rvmの記載を消す
  • rbenv, ruby-build, Ruby をインストールする
$ brew install rbenv
$ brew install ruby-build
$ brew install readline
$ brew link readline
$ brew install openssl
$ brew link openssl
$ CONFIGURE_OPTS="--with-readline-dir=/usr/local" rbenv install 1.9.3-p194
  • bashrc の一番最後に以下の設定を入れる
PATH=/usr/local/bin:$PATH  #既存のPATH設定を移動
eval "$(rbenv init -)"


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment