Nikhil Mahajan wrote:> Hi all,
>
> Am through with the installation of Ruby and RubyGems.
>
> For installing Rails, am typing ''gem install rails
> --include-dependencies'' in the command prompt (as per the steps
provided
> in the URL - http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html).
>
> However, the following error is being encountered:
>
> ERROR: While executing gem ... (SocketError)
> getaddrinfo: no address associated with hostname
Thats a pretty basic (by which I mean ''low level'', not
''obvious'') error.
RubyGems is unable to access the internet. It can''t even get DNS
access
to translate a name into an ip address.
The *usual* cause of this is being on windows and not setting the
HTTP_PROXY environment variable. Are you on WIndows ? DO you use a
proxy in your web browser ? Have you set this in your command prompt ?
HTH,
Alan
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---