Skip to content

Instantly share code, notes, and snippets.

@lgriffin
Forked from niallobrien/gist:5405135
Created April 24, 2013 08:59
Show Gist options
  • Save lgriffin/5450756 to your computer and use it in GitHub Desktop.
Save lgriffin/5450756 to your computer and use it in GitHub Desktop.
git clone git://github.com/sstephenson/rbenv.git ~/.rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(rbenv init -)"' >> ~/.bash_profile
exec $SHELL -l
git clone git://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
rbenv install 2.0.0-p0
git clone https://github.com/sstephenson/rbenv-gem-rehash.git ~/.rbenv/plugins/rbenv-gem-rehash
rbenv rehash
rbenv global 2.0.0-p0
gem install rails --no-ri --no-rdoc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment