title: Using Net::HTTP.get for an https url
body: <p>I'm trying to use <code>Net::HTTP.get()</code> for an https URL:</p>
  
  <pre><code>@data = Net::HTTP.get(uri, Net::HTTP.https_default_port())
  </code></pre>
  
  <p>However, I get the following result when I try to print the results:</p>
  
  <blockquote>
    <p>can't convert URI::HTTPS into String</p>
  </blockquote>
  
  <p>What's the deal? I'm using Ruby 1.8.7 (OS X)</p>