git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
source ~/.bashrc
exec $SHELL
rbenv install -l
rbenv install 2.1.x
rbenv install 2.1.0
rbenv versions
rbenv global 2.1.0
ruby -v
gem install bundler
Last active
August 29, 2015 14:05
-
-
Save furaji/2cd838ca49d94dc64099 to your computer and use it in GitHub Desktop.
rbenv install
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment