Topic: Bundle Install and Gem Update not working

So I'm working on Ubuntu at the moment and for some reason bundler and gem can't seem to connect to their respective sources via the terminal! I keep getting this output back:

justin@jklx:~/dev/project/msc$ bundle install
Fetching gem metadata from
Error Bundler::HTTPError during request to dependency API
Fetching full source index from
Could not reach

justin@jklx:~/dev/project/msc$ gem update
Updating installed gems
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SocketError: getaddrinfo: Name or service not known (

This happened yesterday and it seemed to fix itself after a couple of hours but it's happened again today. The website doesn't seem to be down when I go and visit it so I'm guessing it's not a maintenance issue either.

I'm completely stumped as to why this is happening. For all other intents and purposes my internet connection seems to be fine. I'm not on a proxy server, although I do use one when I'm at university from time to time. I have double checked that those settings aren't currently applied though. Any help would be much appreciated. Thanks in advance!

Last edited by tjk.abdn (2012-06-05 10:17:18)

Re: Bundle Install and Gem Update not working

Check the system configuration if you are behind a proxy.