# Gems timeout on the rubyforge repository

**URL:** <https://www.ruby-forum.com/t/gems-timeout-on-the-rubyforge-repository/102242>\
**Category:** Ruby\
**Created:** [August 13, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/gems-timeout-on-the-rubyforge-repository/102242 "2006-08-13T21:55:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mountaindrummer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@mountaindrummer](https://www.ruby-forum.com/u/mountaindrummer)\
**Post date:** [August 13, 2006, 9:55pm UTC](https://www.ruby-forum.com/t/gems-timeout-on-the-rubyforge-repository/102242/1 "2006-08-13T21:55:20Z")

</div>

Hi,

I have downloaded and compiled both ruby and gems. I am now trying to  
install rails with the following command:

sudo gem install rails --include-dependencies

and after a long delay, I get this message:

ERROR: While executing gem … (Errno::ETIMEDOUT)  
Connection timed out - connect(2)

I have found references to various rubyforge mirrors, but I have been  
unable to get these to work. How do you set up gems to use a mirror?

What mirrors work the best?

Could I have a bad configuration that is preventing me from connecting  
to the rubyforge site with gem?

Thanks,  
Ryan

---

<div class="post-metadata">

**Author:** ![mountaindrummer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@mountaindrummer](https://www.ruby-forum.com/u/mountaindrummer)\
**Post date:** [August 15, 2006, 2:19pm UTC](https://www.ruby-forum.com/t/gems-timeout-on-the-rubyforge-repository/102242/2 "2006-08-15T14:19:13Z")

</div>

On Aug 13, 2006, at 12:55 PM, Ryan Grow wrote:

> ```
> Connection timed out - connect(2)
> 
> ```
> 
> I have found references to various rubyforge mirrors, but I have been  
> unable to get these to work. How do you set up gems to use a mirror?
> 
> What mirrors work the best?
> 
> Could I have a bad configuration that is preventing me from connecting  
> to the rubyforge site with gem?

Try again now. I just tried it and it works for me.

---

<div class="post-metadata">

**Author:** ![mountaindrummer](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bb73d2/32.png) [@mountaindrummer](https://www.ruby-forum.com/u/mountaindrummer)\
**Post date:** [August 18, 2006, 5:52am UTC](https://www.ruby-forum.com/t/gems-timeout-on-the-rubyforge-repository/102242/3 "2006-08-18T05:52:40Z")

</div>

Chris G. wrote:

> Try again now. I just tried it and it works for me.

Yes, I just tried it and it worked. Thanks.
