View Full Version : Error in rails gem installation

11-08-2007, 09:11 AM

I tried to install rails on my machine, but I got the following errors:

C:\ruby\bin>gem install rails --remote
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
getaddrinfo: no address associated with hostname.(SocketError)

What should I do?

Thanks in advance.


ralph l mayo
11-08-2007, 04:38 PM
Do you have any kind of firewall active? This could be caused I think by gem being denied access by some security software to contact the DNS server.

If you do have networking active with the gem executable, the only other thing I can think of is to run 'gem up --system' a time or two and then try again.