title: Ruby on Rails Net::HTTP use_ssl throws 'undefined method'
body: <p>Here's my code:</p>
  
  <pre><code>sock = Net::HTTP.new(url.host, url.port)
  sock.use_ssl = true
  response = sock.start {|http| http.request(req)}
  </code></pre>
  
  <p>here's the error:</p>
  
  <pre><code>undefined method `use_ssl=' for #&lt;Net::HTTP www.paypal.com:443 open=false&gt;
  </code></pre>
  
  <p>google is getting me nothing!</p>
  
  <p>thanks.</p>