Skip to content

Instantly share code, notes, and snippets.

@sgruhier
Created September 1, 2014 12:53
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 sgruhier/7844d128892920ee2497 to your computer and use it in GitHub Desktop.
Save sgruhier/7844d128892920ee2497 to your computer and use it in GitHub Desktop.
git clone git://github.com/sstephenson/rbenv.git .rbenv
git clone git://github.com/sstephenson/ruby-build.git
echo 'export PATH="$HOME/.rbenv/bin:$HOME/ruby-build/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
. .bash_profile
rbenv install 2.1.2
rbenv global 2.1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment