- 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=$HOME/.rbenv/bin:$PATH
PATH=/usr/local/bin:$PATH #既存のPATH設定を移動
eval "$(rbenv init -)"
※PATHの設定順間違えてすごくハマった