Installing Rails and RadRails
From Humanitarian FOSS Summer Institute 2009
Contents |
Installing RadRails
- Put this update URL into Eclipse: http://update.aptana.com/update/studio/3.2/
- Pull in Aptana studio and restart Eclipse
- In the My Aptana page, go to the Plugins tab and install the RadRails plugin
Install Ruby
Install ruby, gem, and a MySQL helper
sudo apt-get install ruby-full build-essential
sudo apt-get install rubygems
sudo apt-get install libmysql-ruby1.8
Now fix gem
sudo gedit /usr/bin/gem
Find:
require 'rubygems'
Add below:
require 'rubygems/gem_runner'
Find:
Gem.manage_gems
Comment it out:
#Gem.manage_gems
Update gem
Run both of these. If there are errors, Google them.
sudo gem update --system
sudo gem update
Install Rails
sudo gem install rails

