# How to update rails manually

**URL:** <https://www.ruby-forum.com/t/how-to-update-rails-manually/187790>\
**Category:** Rails\
**Created:** [April 29, 2010, 10:15am UTC](https://www.ruby-forum.com/t/how-to-update-rails-manually/187790 "2010-04-29T10:15:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daystrom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Daystrom](https://www.ruby-forum.com/u/Daystrom)\
**Post date:** [April 29, 2010, 10:15am UTC](https://www.ruby-forum.com/t/how-to-update-rails-manually/187790/1 "2010-04-29T10:15:12Z")

</div>

Hi,

I have a server behind a firewall and I can’t hit the Internet from  
there. I can remote control the server, but not download anything from  
the Internet.That means the standard “gem install rails -v 2.3.4”  
command will not work.

How does one download the 2.3.4 update and install it locally without  
gem?

---

<div class="post-metadata">

**Author:** ![Daystrom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Daystrom](https://www.ruby-forum.com/u/Daystrom)\
**Post date:** [April 29, 2010, 10:55am UTC](https://www.ruby-forum.com/t/how-to-update-rails-manually/187790/2 "2010-04-29T10:55:36Z")

</div>

What is the error msg you are getting ?? ang what is the os?

---

<div class="post-metadata">

**Author:** ![Daystrom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Daystrom](https://www.ruby-forum.com/u/Daystrom)\
**Post date:** [April 29, 2010, 3:36pm UTC](https://www.ruby-forum.com/t/how-to-update-rails-manually/187790/3 "2010-04-29T15:36:35Z")

</div>

If you do have access to webpages in a webbrowser, it should also work  
for  
gem updates by setting up the http proxy server used.  
Ask your IT department for the proxy used, or you could perhaps find  
that in  
your browser.  
In e.g. Firefox I find it in  
Tools-\>Options…-\>Advanced-\>Network-\>Settings

In my case it says WEBPROXY:8080.

For Windows you would then edit your environment settings, adding the  
system  
variable HTTP\_PROXY with value [http://webproxy:8080](http://webproxy:8080)

Hopefully this will work for you too.  
But perhaps there are even stricter restrictions for machine, being a  
server  
I mean…

Best regards,  
-Rolf

---

<div class="post-metadata">

**Author:** ![Daystrom](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/54ee81/32.png) [@Daystrom](https://www.ruby-forum.com/u/Daystrom)\
**Post date:** [April 29, 2010, 7:27pm UTC](https://www.ruby-forum.com/t/how-to-update-rails-manually/187790/4 "2010-04-29T19:27:16Z")

</div>

On Wed, Apr 28, 2010 at 5:06 PM, Daystrom [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> I have a server behind a firewall and I can’t hit the Internet from  
> there. I can remote control the server, but not download anything from  
> the Internet.That means the standard “gem install rails -v 2.3.4”  
> command will not work.

Use `gem install` on your development system, vendor it, and then  
deploy to the server.

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid  
twitter: @hassan
