Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

gem update

17 views
Skip to first unread message

José Cruz

unread,
Jul 11, 2008, 10:52:40 AM7/11/08
to
Hi,

I'm behind a firewall. How can I update ruby modules?

If I try to do a

>gem update --system

I get the following error:

ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
getaddrinfo: no address associated with hostname.(SocketError)

PS: Windows XP SP3 - Ruby 1.8.6


Thanks!
--
Posted via http://www.ruby-forum.com/.

Glen Holcomb

unread,
Jul 11, 2008, 11:17:02 AM7/11/08
to

Can you ping http://gems.rubyforge.org?

--
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can't hear a word you're saying."

-Greg Graffin (Bad Religion)

José Cruz

unread,
Jul 11, 2008, 11:34:33 AM7/11/08
to
No!

Glen Holcomb

unread,
Jul 11, 2008, 12:02:04 PM7/11/08
to

Sounds like it is either your firewall or DNS/Routing problems then. In
other words it's more of a system/network problem than a ruby one. You
could try downloading and installing it manually if you can get to the gem
to download it.

http://www.ghostonthird.com/2007/12/17/manually-downloading-and-installing-gems/

O. Sapauschke

unread,
Jul 11, 2008, 1:01:57 PM7/11/08
to
José Cruz wrote:
> Hi,
>
> I'm behind a firewall. How can I update ruby modules?
>
> If I try to do a
>
>>gem update --system
>
> I get the following error:
>
> ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
> getaddrinfo: no address associated with hostname.(SocketError)
>
> PS: Windows XP SP3 - Ruby 1.8.6
>
>
> Thanks!

Hi,

if its a proxy problem u can try to set an environment variable in
windows
via <Control Panel:System:Advanced:Environment Variables>
HTTP_PROXY = http://usr:pwd@myproxy:port

it worked for me ;-)

0 new messages