Local Installation issue

Hi everybody,

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

*gem install rails --include-dependencies *
**
Actually this comment fails. It gives a remote exception. It is trying
to
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
it
locally. Can anybody explain how it can be done.

Thanks

Brijesh