How to Install Ruby on Rails
Here is following steps to install:-
# wget ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.5-p2.tar.gz
# tar xzvf ruby-1.8.5-p2.tar.gz
# cd ruby-1.8.5-p2
# ./configure
# make
# make install
# cd /root/source
# wget http://rubyforge.org/frs/download.php/11289/rubygems-0.9.0.tgz
# tar xzvf rubygems-0.9.0.tgz
# cd rubygems-0.9.0
# ruby setup.rb
# gem install rails –include-dependencies
# gem install mongrel –include-dependencies
# gem install mongrel_cluster –include-dependencies
That’s it.