Skip to content

Instantly share code, notes, and snippets.

@sgruhier
Created September 1, 2014 12:53
Show Gist options
  • Select an option

  • Save sgruhier/7844d128892920ee2497 to your computer and use it in GitHub Desktop.

Select an option

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