title: Ruby on Rails: Cant download new gems (Name or service not known)
body: <p>For some reason, I can't add new gems (which haven't been donwloaded/used before) to my system. When I run <code>bundle install</code> after adding them to the <code>Gemfile</code>, I get errors like this:</p>
  
  <pre><code>/usr/lib/ruby/1.8/rubygems/remote_fetcher.rb:180:in `fetch_path': SocketError: getaddrinfo: Name or service not known (http://rubygems.org/quick/Marshal.4.8/google_places_autocomplete-0.0.2.gemspec.rz) (Gem::RemoteFetcher::FetchError) from /usr/lib/ruby/1.8/rubygems/spec_fetcher.rb:106:in `fetch_spec'
  from /var/lib/gems/1.8/gems/bundler-1.0.14/lib/bundler/remote_specification.rb:47:in `_remote_specification'
  from /var/lib/gems/1.8/gems/bundler-1.0.14/lib/bundler/remote_specification.rb:53:in `method_missing'
  from /var/lib/gems/1.8/gems/bundler-1.0.14/lib/bundler/resolver.rb:101:in `__dependencies'
  from /var/lib/gems/1.8/gems/bundler-1.0.14/lib/bundler/resolver.rb:98:in `each'
  from /var/lib/gems/1.8/gems/bundler-1.0.14/lib/bundler/resolver.rb:98:in `__dependencies'
  ....
  from /var/lib/gems/1.8/bin/bundle:19
  </code></pre>
  
  <p>This just happened out of the blue. All the gems I'm trying are from the official <code>rubygems.org</code> website. It's always the same exact error (just with the gem name changed in the URL on the first line). If I run <code>bundle install</code> without adding any new gems, it works fine.</p>
  
  <p>Does anyone have any insight on how to fix this?</p>