Skip to content

Instantly share code, notes, and snippets.

@jonmagic
Created March 8, 2010 22:38
Show Gist options
  • Save jonmagic/325887 to your computer and use it in GitHub Desktop.
Save jonmagic/325887 to your computer and use it in GitHub Desktop.
# install required packages for building
sudo apt-get install build-essential libssl-dev libreadline5-dev
# download and install ruby
wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p248.tar.gz
tar zxvf ruby-1.8.7-p248.tar.gz
cd ruby-1.8.7-p248
./configure
make
sudo make install
cd ..
# download and install rubygems
wget http://rubyforge.org/frs/download.php/69365/rubygems-1.3.6.tgz
tar zxvf rubygems-1.3.6.tgz
cd rubygems-1.3.6
sudo ruby setup.rb
cd ..
# install rails
sudo gem install rails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment