Skip to content

Instantly share code, notes, and snippets.

@niallobrien
Created April 17, 2013 15:15
Show Gist options
  • Save niallobrien/5405135 to your computer and use it in GitHub Desktop.
Save niallobrien/5405135 to your computer and use it in GitHub Desktop.
Install Ruby & Rails
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
@mickobrien99
Copy link

Worked perfectly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment