Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Install Rails - Ubuntu 12.04
#!/bin/sh
# Install Ruby 1.9.3 on rbenv and get Rails
cd
mkdir -p .rbenv/plugins
cd .rbenv/plugins
git clone git://github.com/sstephenson/ruby-build.git
cd
rbenv install 1.9.3-p194
rbenv rehash
rbenv global 1.9.3-p194
gem install rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment