# How to install rail from source

**URL:** <https://www.ruby-forum.com/t/how-to-install-rail-from-source/171598>\
**Category:** Rails\
**Created:** [July 6, 2009, 2:08pm UTC](https://www.ruby-forum.com/t/how-to-install-rail-from-source/171598 "2009-07-06T14:08:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinod\_Singh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/97f17d/32.png) [@Vinod\_Singh](https://www.ruby-forum.com/u/Vinod_Singh)\
**Post date:** [July 6, 2009, 2:08pm UTC](https://www.ruby-forum.com/t/how-to-install-rail-from-source/171598/1 "2009-07-06T14:08:26Z")

</div>

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 ([http://rubyonrails.org/download](http://rubyonrails.org/download)) talks  
about downloading standalone packages but can’t find any instructions  
about how to use them.

Any clues?

Thanks,  
Vinod  
[http://blog.vinodsingh.com/](http://blog.vinodsingh.com/)

---

<div class="post-metadata">

**Author:** ![Vinod\_Singh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/v/97f17d/32.png) [@Vinod\_Singh](https://www.ruby-forum.com/u/Vinod_Singh)\
**Post date:** [July 6, 2009, 2:20pm UTC](https://www.ruby-forum.com/t/how-to-install-rail-from-source/171598/2 "2009-07-06T14:20:08Z")

</div>

Am 06.07.2009 um 13:29 schrieb Vinod Singh:

> 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.

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).

Best,

Felix
