Unable to install gems because of DNS issue

Stephen Veit's Avatar

Stephen Veit

26 Jan, 2011 04:05 PM

I get the following error when trying to install a gem:

Updating installed gems
ERROR: http://rubygems.org/ does not appear to be a repository
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)

SocketError: getaddrinfo: Name or service not known (http://rubygems.org/yaml)

It seems http://rubygems.org/yaml redirects to http://production.s3.rubygems.org/yaml

host production.s3.rubygems.org returns
;; connection timed out; no servers could be reached

Can you fix your DNS servers or temporari;y tell me the IP address of production.s3.rubygems.org so I could put it in my /etc/hosts file?

Thanks.

  1. Support Staff 1 Posted by Eric Hodel on 26 Jan, 2011 05:24 PM

    Eric Hodel's Avatar

    This is working fine for me:

    $ host production.s3.rubygems.org
    production.s3.rubygems.org is an alias for production.s3.rubygems.org.s3.amazonaws.com.
    production.s3.rubygems.org.s3.amazonaws.com is an alias for s3-directional-w.amazonaws.com.
    s3-directional-w.amazonaws.com is an alias for s3-2-w.amazonaws.com.
    s3-2-w.amazonaws.com has address 207.171.185.201
    
  2. 2 Posted by Stephen Veit on 26 Jan, 2011 05:53 PM

    Stephen Veit's Avatar

    Eric,

    It works on my home computer but not on my work computer. Some DNS server must have a stale cache. You can close this issue. Thanks.

    On Jan 26, 2011, at 11:24 AM, Eric Hodel wrote:

    > host production.s3.rubygems.org

    Stephen Veit
    Director of System Development and Operations
    TradeHarbor, Inc.
    www.tradeharbor.com
    Mobile: 314.616.9688
    Main: 314.878.1200
    Fax: 314.878.1225

    "The information transmitted is intended only for the person or entity to
    which it is addressed and may contain confidential and/or privileged
    material. Any review, retransmission, dissemination or other use of, or
    taking of any action in reliance upon, this information by persons or
    entities other than the intended recipient is prohibited. If you received
    this in error, please contact the sender and delete the material from all
    computers."

  3. Support Staff 3 Posted by Eric Hodel on 26 Jan, 2011 06:54 PM

    Eric Hodel's Avatar

    Ok, thanks!

  4. Eric Hodel closed this discussion on 26 Jan, 2011 06:54 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac