Skip to content

Instantly share code, notes, and snippets.

@pixind
Created April 2, 2013 01:03
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 pixind/5289152 to your computer and use it in GitHub Desktop.
Save pixind/5289152 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.profile
echo 'eval "$(rbenv init -)"' >> ~/.profile
exec $SHELL -l
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install --list
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment