title: Why require mongo gives me LoadError: no such file to load -- openssl
body: <p>I'm using Ubuntu Server 10, Ruby 1.9.2</p>
  
  <p>When I try to require 'mongo'</p>
  
  <p>it gives me this error:</p>
  
  <pre><code>irb(main):001:0&gt; require 'mongo'
  LoadError: no such file to load -- openssl
      from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
      from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
      from /usr/local/lib/ruby/gems/1.9.1/gems/mongo-1.5.2/lib/mongo/util/ssl_socket.rb:1:in `&lt;top (required)&gt;'
      from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
      from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
      from /usr/local/lib/ruby/gems/1.9.1/gems/mongo-1.5.2/lib/mongo.rb:63:in `&lt;top (required)&gt;'
      from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `require'
      from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:59:in `rescue in require'
      from /usr/local/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:35:in `require'
      from (irb):1
      from /usr/local/bin/irb:12:in `&lt;main&gt;'
  </code></pre>