Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2005
    Location
    Cebu, Philippines
    Posts
    46
    Thanks
    1
    Thanked 10 Times in 10 Posts

    Error in rails gem installation

    Hello,

    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.

    -Jygz

  • #2
    Regular Coder ralph l mayo's Avatar
    Join Date
    Nov 2005
    Posts
    951
    Thanks
    1
    Thanked 31 Times in 29 Posts
    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.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •