# Problem with rubygem

**URL:** <https://www.ruby-forum.com/t/problem-with-rubygem/111077>\
**Category:** Ruby\
**Created:** [August 2, 2007, 12:03pm UTC](https://www.ruby-forum.com/t/problem-with-rubygem/111077 "2007-08-02T12:03:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![austeretown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@austeretown](https://www.ruby-forum.com/u/austeretown)\
**Post date:** [August 2, 2007, 12:03pm UTC](https://www.ruby-forum.com/t/problem-with-rubygem/111077/1 "2007-08-02T12:03:56Z")

</div>

Hello every body,

```
I tried to install ruby and rubygem. So I have downloaded :
ruby-1.8.5-p2 and rubygem-0.9.4 no problem for their installation.

```

But when I tried to do: gem install rails --include-dependencies, i have  
got a error message:

```
ERROR: While executing gemâ€¦(Gem: RemoteFetcher::FetchError)
              getaddrinfo: Temporary failure in name

```

resolutio(SocketError)

So anybody know what’s the matter? Thanks very much!!

Yin

---

<div class="post-metadata">

**Author:** ![austeretown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@austeretown](https://www.ruby-forum.com/u/austeretown)\
**Post date:** [August 2, 2007, 12:25pm UTC](https://www.ruby-forum.com/t/problem-with-rubygem/111077/2 "2007-08-02T12:25:39Z")

</div>

Hi,

On 2 Aug., 12:04, Yin S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> But when I tried to do: gem install rails --include-dependencies, i have  
> got a error message:
> 
> ```
> ERROR: While executing gem...(Gem: RemoteFetcher::FetchError)
> getaddrinfo: Temporary failure in name
> 
> ```
> 
> resolutio(SocketError)

This means that gem can’t resolve the name of a remote server, i. e.  
[http://gems.rubyforge.org](http://gems.rubyforge.org)

Can you connect to this server using a browser or a command line tool  
like curl?

Lutz

---

<div class="post-metadata">

**Author:** ![austeretown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@austeretown](https://www.ruby-forum.com/u/austeretown)\
**Post date:** [August 2, 2007, 2:02pm UTC](https://www.ruby-forum.com/t/problem-with-rubygem/111077/3 "2007-08-02T14:02:04Z")

</div>

Hi, Lutz

Thank you very much for your help. I have installed the connection  
Intenet in my server just now. And I tried to reinstall the rubygem. But  
this time I got:

Bulk updating Gem source index for [http://gems.rubyforge.org](http://gems.rubyforge.org)  
ERROR: While executing gem…(Gem::GemNotFoundException)  
Could not find rails(\>0) in any repository

What does it mean? And I tied to connect [http://gems.rubyforge.org](http://gems.rubyforge.org)  
with a browser but failed. Can you give me some advices more?? Thank you  
very much!!!

Yin

---

<div class="post-metadata">

**Author:** ![austeretown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@austeretown](https://www.ruby-forum.com/u/austeretown)\
**Post date:** [August 2, 2007, 2:15pm UTC](https://www.ruby-forum.com/t/problem-with-rubygem/111077/4 "2007-08-02T14:15:56Z")

</div>

Hi,

On 2 Aug., 14:02, Yin S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Bulk updating Gem source index forhttp://gems.rubyforge.org  
> ERROR: While executing gem…(Gem::GemNotFoundException)  
> Could not find rails(\>0) in any repository

What are the exact parameters you call gem with?

> What does it mean? And I tied to connecthttp://gems.rubyforge.org  
> with a browser but failed.

Hm, I get a page with “Welcome to the RubyGems distribution website”  
on it. It seems you have to recheck your internet connection.

Lutz

---

<div class="post-metadata">

**Author:** ![austeretown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/3da27b/32.png) [@austeretown](https://www.ruby-forum.com/u/austeretown)\
**Post date:** [August 10, 2007, 1:36pm UTC](https://www.ruby-forum.com/t/problem-with-rubygem/111077/5 "2007-08-10T13:36:26Z")

</div>

> > What does it mean? And I tied to connecthttp://gems.rubyforge.org  
> > with a browser but failed.
> 
> Hm, I get a page with “Welcome to the RubyGems distribution website”  
> on it. It seems you have to recheck your internet connection.

Did you try to click on the “download” link at this site, i.e. where  
it says “To download and install RubyGems please visit rubygems”?  
It seems that _this_ link is broken.

Ronald
