title: Installing openssl in ruby / rbenv
body: <p>I need to use openssl in ruby. How should I install the same? I've installed ruby through rbenv, and am using ubuntu 12.04.</p>
  
  <pre><code>kprakasam@ubuntu:~$ ruby -v
  ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
  
  kprakasam@ubuntu:~$ irb
  irb(main):001:0&gt; require 'openssl'
  LoadError: no such file to load -- openssl
      from /home/kprakasam/.rbenv/versions/1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
      from /home/kprakasam/.rbenv/versions/1.9.2-p180/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
      from (irb):1
      from /home/kprakasam/.rbenv/versions/1.9.2-p180/bin/irb:12:in `&lt;main&gt;'
  </code></pre>