Rails Local Installation issues


Hi everybody,

I Have installed Ruby, I was trying to install rails frame work by
following comment , without an internet connection.

*gem install rails --include-dependencies *
Actually this comment fails. It gives a remote exception. It is trying
connect source forge website. Is there any way to install locally ,
I mean without connecting to internet. Could anybody explain the
procedure for it. I know that with *.gem file we will be able to install
locally. Can anybody explain how it can be done.