SocketError when trying to install Rails with RubyGems

I downloaded RubyGems 0.9.0 and successfully extracted and built it by
running “sudo setup.rb”.

Then I try to install Rails via this command:
“sudo gem install rails --include-dependencies”

But I get this error everytime:

ERROR: While executing gem … (SocketError)
getaddrinfo: no address associated with nodename

Can someone point me in the right direction?

Thanks much.
Sri

this is on Mac OS X…Tiger…with XCode 2.2

Is this the right forum? Or is the Ruby one more appropriate?

Sri <srikandan@…> writes:

Is this the right forum? Or is the Ruby one more appropriate?

I’m wondering the same thing … 'cause I have the same problem :slight_smile:

Let me know if you find a solution.