# Help installing rails

**URL:** <https://www.ruby-forum.com/t/help-installing-rails/113781>\
**Category:** Ruby\
**Created:** [September 4, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/help-installing-rails/113781 "2007-09-04T21:51:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![qrc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/8797f3/32.png) [@qrc](https://www.ruby-forum.com/u/qrc)\
**Post date:** [September 4, 2007, 9:51pm UTC](https://www.ruby-forum.com/t/help-installing-rails/113781/1 "2007-09-04T21:51:11Z")

</div>

I’m trying to install the rails aspect through gem, but when I run the  
command:

gem install rails --include-dependencies

I get a connection error. So I figured it may be because of our proxy,  
so  
when I try:

gem install rails --include-dependencies -p [http://inetgw.unx.sas.com:80](http://inetgw.unx.sas.com:80)

I get an undefined method error.

Any ideas?

---

<div class="post-metadata">

**Author:** ![qrc](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/q/8797f3/32.png) [@qrc](https://www.ruby-forum.com/u/qrc)\
**Post date:** [September 4, 2007, 10:38pm UTC](https://www.ruby-forum.com/t/help-installing-rails/113781/2 "2007-09-04T22:38:31Z")

</div>

On Sep 4, 2007, at 2:50 PM, Josh H. wrote:

> [inetgw.unx.sas.com:80](http://inetgw.unx.sas.com:80)
> 
> I get an undefined method error.
> 
> Any ideas?

Need more info about the system you’re trying to install on.  
You should probably also use ‘sudo’  
sudo gem install gem\_name --include-dependencies  
and include here the full error messages.  
You might also check out the rubygems web site and the ruby on rails  
web sites.
