Jun 10 2009
∞
Decent setup instructions for a ROR stack on Ubuntu
All you really need to know here is the magic apt-get string, which is
sudo apt-get install ruby-full build-essentialAs of this writing, the ruby that comes with ruby-full is the latest build of 1.8.7. If you follow their instructions for installing rubygems, skip to the last paragraph and use
wget http://rubyforge.org/frs/download.php/45905/rubygems-1.3.1.tgz tar xzvf rubygems-1.3.1.tgz cd rubygems-1.3.1 sudo ruby setup.rb sudo ln -s /usr/bin/gem1.8 /usr/bin/gem sudo gem update --systemIf you accidentally install an older version of rubygems (ie anything less than 1.3), you need to:
sudo gem install update-rubygemsrestart shell (in some cases) and
sudo ruby update_rubygems