Open a terminal and enter the following command:
sudo apt-get install ruby-full build-essential
Install Apache
sudo apt-get install apache2 apache2-mpm-prefork apache2-prefork-dev
Install Mongrel
sudo a2enmod proxy
sudo a2enmod proxy_http
sudo a2enmod rewrite
sudo /etc/init.d/apache2 restart
sudo apt-get install mongrel
I have never heard of Mongrel but this is was I have learned:
"Mongrel is a small library that provides a very fast HTTP 1.1 server for Ruby web applications. It is not particular to
any framework, and is intended to be just enough to get a web application running behind a more complete and robust web
server.
What makes Mongrel so fast is the careful use of an Ragel extension to provide fast, accurate HTTP 1.1 protocol parsing. "
Install Ruby Gems
http://rubyforge.org/frs/download.php/70696/rubygems-1.3.7.tgz
tar xzvf rubygems-1.3.7.tgz
cd rubygems-1.3.7
sudo ruby setup.rb
sudo ln -s /usr/bin/gem1.8 /usr/bin/gem
sudo gem update --system
Install Rails
sudo gem install rails\
For an IDE/Text Editor there are a lot of options. I am familiar with Eclipse so I am using http://aptana.com/downloads/start