title: Timeout when installing ruby gems
body: <p>I'm trying to install the <strong>bundler</strong> gem using <code>$ gem install bundler</code>. When I execute the command, I receive the following response:</p>
  
  <pre><code>ERROR:  Could not find a valid gem 'bundler' (&gt;= 0), here is why:
      Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation   timed out - connect(2) (https://api.rubygems.org/latest_specs.4.8.gz)
  ERROR:  Possible alternatives: bundler
  </code></pre>
  
  <p>In an effort to make sure I wasn't going crazy, I tried installing nokogiri:</p>
  
  <pre><code>ERROR:  Could not find a valid gem 'nokogiri' (&gt;= 0), here is why:
    Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed out - connect(2) (https://api.rubygems.org/latest_specs.4.8.gz)
  ERROR:  Possible alternatives: nokogiri
  </code></pre>
  
  <p>And a2z:</p>
  
  <pre><code>ERROR:  Could not find a valid gem 'a2z' (&gt;= 0), here is why:
    Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed out - connect(2) (https://api.rubygems.org/quick/Marshal.4.8/a2z-0.1.3.gemspec.rz)
  </code></pre>
  
  <p>If anyone has experience this issue before and can help me out it would be greatly appreciated.</p>
  
  <p>If it helps, I'm running <strong>MacOS Mavericks</strong> and have <strong>gem version 2.2.2</strong>.</p>