websites resolving in browser but not resolving in CLI. Can ping IP but not domain name (unknown host)

Posted by tjkoding on Super User See other posts from Super User or by tjkoding
Published on 2012-06-04T12:49:07Z Indexed on 2012/10/21 23:07 UTC
Read the original article Hit count: 117

Hi guys I'm currently developing using rails and for some reason bundle install is returning the following output

Error Bundler::HTTPError during request to dependency API
Fetching full source index from https://rubygems.org/
Could not reach https://rubygems.org/

I've discovered that pinging by domain name keeps returning an unknown host.

The browser is still resolving web pages just fine and I've managed to confirm that the problem is localized (i.e. the rubygems page isn't down). I'm completely lost so any help would be much appreciated. Thanks in advance!

© Super User or respective owner

Related posts about ubuntu

Related posts about dns