Problem with rubygems

Hi guys,

I try to install rubyzip gem as follows(under XP):

C:\Ruby\gem install -r rubyzip
ERROR: While executing gem … (SocketError)
getaddrinfo: no address associated with hostname.

when I try to ping I get these output:
Pinging [] with 32 bytes of

Reply from bytes=32 time=114ms TTL=40
Reply from bytes=32 time=51ms TTL=40
Reply from bytes=32 time=51ms TTL=40
Reply from bytes=32 time=56ms TTL=40

Ping statistics for
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 51ms, Maximum = 114ms, Average = 68ms

How do I fix the socketError?

then I download download the zip file from
unzip it,go to the folder containing install.rb,and install it as

ruby install.rb

By trying the test script I think rubyzip is installed successfully. But
the problem is that I cannot see it in the local gems by typing this
c:\gem list --local

Is there any problem with my installation?

Thank you in advance,



This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs