Skip to content

Instantly share code, notes, and snippets.

@johnrees
Created December 5, 2014 16:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save johnrees/99f7ff6f33761a42bc6d to your computer and use it in GitHub Desktop.
Save johnrees/99f7ff6f33761a42bc6d to your computer and use it in GitHub Desktop.
git clone https://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
source ~/.bashrc
git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.1.5
rbenv global 2.1.5
ruby -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment