# Problem installin rails

**URL:** <https://www.ruby-forum.com/t/problem-installin-rails/120634>\
**Category:** Rails\
**Created:** [November 19, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/problem-installin-rails/120634 "2007-11-19T13:34:26Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@ramesh](https://www.ruby-forum.com/u/ramesh)\
**Post date:** [November 19, 2007, 1:34pm UTC](https://www.ruby-forum.com/t/problem-installin-rails/120634/1 "2007-11-19T13:34:26Z")

</div>

i have rubygems installed. trying to install rails using the command:  
gem install rails -v1.2.5, it gives me the error:  
ERROR: while executing gem … (Gem::RemoteFetcher::FetchError)  
getaddrinfo: Temporary failure in name resolution(SocketError)

please help…

---

<div class="post-metadata">

**Author:** ![ramesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@ramesh](https://www.ruby-forum.com/u/ramesh)\
**Post date:** [November 21, 2007, 11:31am UTC](https://www.ruby-forum.com/t/problem-installin-rails/120634/2 "2007-11-21T11:31:00Z")

</div>

anybody???

Ramesh P. wrote:

> i have rubygems installed. trying to install rails using the command:  
> gem install rails -v1.2.5, it gives me the error:  
> ERROR: while executing gem … (Gem::RemoteFetcher::FetchError)  
> getaddrinfo: Temporary failure in name resolution(SocketError)
> 
> please help…

---

<div class="post-metadata">

**Author:** ![ramesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@ramesh](https://www.ruby-forum.com/u/ramesh)\
**Post date:** [November 21, 2007, 11:39am UTC](https://www.ruby-forum.com/t/problem-installin-rails/120634/3 "2007-11-21T11:39:23Z")

</div>

Ramesh P. wrote:

> > please help…

The error said: Temporary failure in name resolution.

Just try it again a few times… sometimes, there are network errors  
that prevent proper connection…

Cheers,  
Mohit.  
11/21/2007 | 6:38 PM.

---

<div class="post-metadata">

**Author:** ![ramesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@ramesh](https://www.ruby-forum.com/u/ramesh)\
**Post date:** [November 21, 2007, 11:46am UTC](https://www.ruby-forum.com/t/problem-installin-rails/120634/4 "2007-11-21T11:46:23Z")

</div>

i tried many times bt didnt worked :((,

any other solution…

Mohit S. wrote:

> Ramesh P. wrote:
> 
> > > please help…
> 
> The error said: Temporary failure in name resolution.
> 
> Just try it again a few times… sometimes, there are network errors  
> that prevent proper connection…
> 
> Cheers,  
> Mohit.  
> 11/21/2007 | 6:38 PM.

---

<div class="post-metadata">

**Author:** ![ramesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@ramesh](https://www.ruby-forum.com/u/ramesh)\
**Post date:** [November 21, 2007, 12:47pm UTC](https://www.ruby-forum.com/t/problem-installin-rails/120634/5 "2007-11-21T12:47:31Z")

</div>

Are you sure that you are connected to internet when running gem  
install rails command?

On Nov 21, 10:46 am, Ramesh P. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![ramesh](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/d07c76/32.png) [@ramesh](https://www.ruby-forum.com/u/ramesh)\
**Post date:** [November 21, 2007, 1:13pm UTC](https://www.ruby-forum.com/t/problem-installin-rails/120634/6 "2007-11-21T13:13:18Z")

</div>

On 21 Nov 2007, at 10:46, Ramesh P. wrote:

> i tried many times bt didnt worked :((,
> 
> any other solution…

Do you have network connectivity to [http://gems.rubyforge.org](http://gems.rubyforge.org) ?  
If you don’t then that’s a problem for you or your sysadmin to fix.

Fred
