$ brew update
$ brew install rbenv
$ brew install ruby-buildrbenv init -を.bash_profileに仕込む.
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
Rubyのインストール.
$ brew install openssl
$ rbenv install -l
$ RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl)" rbenv install 2.0.0-p195
$ rbenv install 1.9.3-p429デフォルトのrubyを2.0.0にする.
$ rbenv global 2.0.0-p195bundlerインストールしてrehash.
$ gem install bundler
$ rbenv rehash特定プロジェクトのみ適用(.ruby-versionが出力される)
$ rbenv local 2.0.0-p195