title: gem install rails doesn't work due to openssl/ETimedout in windows
body: <p>Initially, I have <code>ruby 1.9.3</code> version installed in my windows 7 and i have installed <code>ruby 2.0.0p195</code> recently and have tested from command promot (<code>ruby -v; ruby -e "puts 100"; irb</code> )works pretty well.</p>
  
  <p><code>ruby -v</code> gives <code>ruby 2.0.0p195 (2013-05-14) [i386-mingw32]</code></p>
  
  <p><code>gem -v</code> gives me <code>2.0.2</code></p>
  
  <p>When i'm trying to install rails, I do always get the below error :</p>
  
  <p>with <a href="http://rubygems.org" rel="nofollow">http://rubygems.org</a></p>
  
  <pre><code>C:\Users\san&gt;gem install rails --source http://rubygems.org
  ERROR:  Could not find a valid gem 'rails' (&gt;= 0), here is why:
            Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT:
   A connection attempt failed because the connected party did not properly respon
  d after a period of time, or established connection failed because connected hos
  t has failed to respond. - connect(2) (https://rubygems.org/latest_specs.4.8.gz)
  </code></pre>
  
  <p>or </p>
  
  <p>with <a href="https://rubygems.org" rel="nofollow">https://rubygems.org</a></p>
  
  <pre><code>C:\Users\san&gt;gem install rails --debug -V
  Exception `Errno::EEXIST' at C:/Ruby200/lib/ruby/2.0.0/fileutils.rb:245 - File e
  xists - C:/Users/san/.gem/specs/rubygems.org%443
  HEAD https://rubygems.org/latest_specs.4.8.gz
  Exception `OpenSSL::SSL::SSLError' at C:/Ruby200/lib/ruby/2.0.0/openssl/bufferin
  g.rb:174 - read would block
  302 Moved Temporarily
  HEAD https://s3.amazonaws.com/production.s3.rubygems.org/latest_specs.4.8.gz
  Exception `OpenSSL::SSL::SSLError' at C:/Ruby200/lib/ruby/2.0.0/openssl/bufferin
  g.rb:174 - read would block
  200 OK
  GET https://rubygems.org/latest_specs.4.8.gz
  Exception `Errno::ETIMEDOUT' at C:/Ruby200/lib/ruby/2.0.0/net/http.rb:878 - A co
  nnection attempt failed because the connected party did not properly respond aft
  er a period of time, or established connection failed because connected host has
   failed to respond. - connect(2)
  </code></pre>
  
  <p>Since i'm getting so many errors, I have uninstalled both ruby versions and rebooted system and installed back (as suggested after googling and from few stackoverflow questions). But didn't help much. 
  Note: I have turned off windows firewall and tried installing. But I'm still getting Exception with openSSL issue.
  Please suggest on this. Thanks!</p>