There is 2 ways to install rails on your computer :
1. Online Installation a. first, make sure you have installed ruby and ruby gems 1. check ruby instalation (latest version 1.8.6) ruby -v 2. check ruby gems installation (latest version 0.9.2) gem -v b. then do the installation with execute command : gem install rails --include-dependencies or (to get spesific version) gem install rails -v=1.2.3 --include-dependencies
2. Offline / Manual Installation a. first, make sure you have installed ruby and ruby gems 1. check ruby instalation (latest version 1.8.6) ruby -v 2. check ruby gems installation (latest version 0.9.2) gem -v b. download gem list on http://rubyforge.vm.bytemark.co.uk/gems/ download listed file below : rake-0.7.2.gem activesupport-1.4.2.gem activerecord-1.15.3.gem actionpack-1.13.3.gem actionmailer-1.3.3.gem actionwebservice-1.2.3.gem rails-1.2.3.gem
c. execute one by one with order
sudo gem install rake-0.7.2.gem sudo gem install activesupport-1.4.2.gem sudo gem install activerecord-1.15.3.gem sudo gem install actionpack-1.13.3.gem sudo gem install actionmailer-1.3.3.gem sudo gem install actionwebservice-1.2.3.gem sudo gem install rails-1.2.3.gem
Hope can solve your problem
regards, Dhendy Ferdian