# Problem in Installing Rails

**URL:** <https://www.ruby-forum.com/t/problem-in-installing-rails/82069>\
**Category:** Rails\
**Created:** [January 17, 2007, 7:06am UTC](https://www.ruby-forum.com/t/problem-in-installing-rails/82069 "2007-01-17T07:06:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhirajmundada](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/96bed5/32.png) [@dhirajmundada](https://www.ruby-forum.com/u/dhirajmundada)\
**Post date:** [January 17, 2007, 7:06am UTC](https://www.ruby-forum.com/t/problem-in-installing-rails/82069/1 "2007-01-17T07:06:37Z")

</div>

Hi,  
I am new to both ruby and rails.  
I was trying to install rails on My FC5 machine but it didn’t succeed…

I have successfully installed latest version of Ruby on my machine, and  
Gems too…  
When I use command  
“gem install rails --include-dependencies”  
I get following error…

"ERROR: While executing gem … (SocketError)  
getaddrinfo: Temporary failure in name resolution "

Can anybody solve my problem as early as possible???

Thanks & Regards,

Dhiraj Mundada  
PICT,Pune

---

<div class="post-metadata">

**Author:** ![dhirajmundada](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/96bed5/32.png) [@dhirajmundada](https://www.ruby-forum.com/u/dhirajmundada)\
**Post date:** [January 17, 2007, 8:29am UTC](https://www.ruby-forum.com/t/problem-in-installing-rails/82069/2 "2007-01-17T08:29:16Z")

</div>

the problem could be that your box is behind a restrictive firewall.  
you can install rails by hand. without using the gem paket manager.

try this link:  
[http://ashishkulkarni.blogspot.com/2006/07/installing-ruby-and-rails-framework.html](http://ashishkulkarni.blogspot.com/2006/07/installing-ruby-and-rails-framework.html)

it descripes how to install rails manually. is targeted to windows but  
the gems should be the same. 😉

google a bit around. there are a lot of results searching for “ERROR:  
While executing gem … (SocketError)” e.g.

---

<div class="post-metadata">

**Author:** ![dhirajmundada](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/96bed5/32.png) [@dhirajmundada](https://www.ruby-forum.com/u/dhirajmundada)\
**Post date:** [January 17, 2007, 9:53am UTC](https://www.ruby-forum.com/t/problem-in-installing-rails/82069/3 "2007-01-17T09:53:46Z")

</div>

dweinand wrote:

> the problem could be that your box is behind a restrictive firewall.  
> you can install rails by hand. without using the gem paket manager.
> 
> try this link:  
> [Ashish Kulkarni's blog: Installing Ruby and Rails Framework from behind a firewall](http://ashishkulkarni.blogspot.com/2006/07/installing-ruby-and-rails-framework.html)
> 
> it descripes how to install rails manually. is targeted to windows but  
> the gems should be the same. 😉
> 
> google a bit around. there are a lot of results searching for “ERROR:  
> While executing gem … (SocketError)” e.g.

Hi,  
Thanks a lot man…  
The link suggested by you was very useful…  
Thanks & Regards,  
Dhiraj Mundada  
PICT,Pune
