How to install rail from source

I am trying to play with Ruby and rails first time. All instructions
to install rails seems to be 'gem install rails' kind of. Problem with
this method is that it will need an internet connection on the machine
where rails needs to be installed and that is not available in my
case. The rails download page ( talks
about downloading standalone packages but can't find any instructions
about how to use them.

Any clues?


You don't need an internet connection to install gems. Just go download the gems, copy them over to your machine, and do 'gem install rails' in the same directory where you have stored your gems (that's off the top of my head, but you definitely can install gems you have in a local folder).