# (Gem::RemoteFetcher::FetchError) can't get connected to the net!

**URL:** <https://www.ruby-forum.com/t/gem-fetcherror-cant-get-connected-to-the-net/148277>\
**Category:** Rails\
**Created:** [September 11, 2008, 9:04am UTC](https://www.ruby-forum.com/t/gem-fetcherror-cant-get-connected-to-the-net/148277 "2008-09-11T09:04:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nathan\_Haskins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e274bd/32.png) [@Nathan\_Haskins](https://www.ruby-forum.com/u/Nathan_Haskins)\
**Post date:** [September 11, 2008, 9:04am UTC](https://www.ruby-forum.com/t/gem-fetcherror-cant-get-connected-to-the-net/148277/1 "2008-09-11T09:04:24Z")

</div>

Hello everyone, I recently picked up the Agile web dev with Rail book  
and followed the installation instructions for Windows using  
InstantRails… well it works up until the point i try to…

‘gem update rails --include-dependencies’

… i end up with the following error message:

pdating installed gems…  
ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)  
A Request to send ro recieve data was disallowed because the  
socket is not connected and (when sending a datagam socket using a  
sendto call) no address was supplied. (Errno::ENOTCONN) getting size  
of [http://gem.rubyforge.org/Marsha1.4.8](http://gem.rubyforge.org/Marsha1.4.8)

hmmm don’t really know what all that means… there isn’t a firewall  
blocking it… so i tried the [RubyonRails.org](http://RubyonRails.org) method of installation  
and i was able to progress as far as installing gems…

‘gem install rails --include-dependencies -v’

…i get this error message:

ERROR: [http://gems.rubyforge.org/](http://gems.rubyforge.org/) does not appear to be a repository  
ERROR: could not find gem rails locally or in a repository.

now i can ping [gems.rubyforge.org](http://gems.rubyforge.org)… i see the firewall allowing ruby  
to go out to this address yet gem doesn’t seem to have any luck gettin  
out to the net.

4 hours of searching thought manuals, docs, forums, tutorials and  
various blogs on http proxy, im still at a loss. The firewall was  
turned off completely and still no change, i just uninstalled hamachi  
just incase… no change… I’m behind a netgear router im not sure if  
that is a factor or not.

Any help or insight to this situation would be greatly appreciated,  
thanks!

My OS: Windows XP pro, SP1.

---

<div class="post-metadata">

**Author:** ![Nathan\_Haskins](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/e274bd/32.png) [@Nathan\_Haskins](https://www.ruby-forum.com/u/Nathan_Haskins)\
**Post date:** [September 11, 2008, 4:27pm UTC](https://www.ruby-forum.com/t/gem-fetcherror-cant-get-connected-to-the-net/148277/2 "2008-09-11T16:27:27Z")

</div>

Some thoughts:  
Make sure you have the latest version of gems [1.2]

If worst comes to worst I suppose you could download the gems by hand to  
your local machine then run gem install on them 🙂

As a note, at least on my machine [OS X] that command works.  
-=R

[1]

> **[Still playing with Ruby on Windows | AkitaOnRails.com](https://www.akitaonrails.com/2008/7/26/still-playing-with-ruby-on-windows)**
>
> Leitores brasileiros: cliquem aqui
> A week ago I’ve tested the newest One-Click Ruby Installer build and found a few minor glitches. Since then I’ve...

> ‘gem update rails --include-dependencies’
> 
> … i end up with the following error message:
> 
> pdating installed gems…  
> ERROR: While executing gem … (Gem::RemoteFetcher::FetchError)  
> A Request to send ro recieve data was disallowed because the
