title: 'no such file to load -- net/ssh' from rails Controller on Ubuntu
body: <p>I have a very simple controller:</p>
  
  <pre><code>require 'net/ssh'
  
  class MyController &lt; ApplicationController
      def foo
          render :text =&gt; 'bar'
      end
  end
  </code></pre>
  
  <p>But when I request <a href="http://server:3000/my/foo" rel="nofollow noreferrer">http://server:3000/my/foo</a> I get:</p>
  
  <pre><code>MissingSourceFile in MyController#foo 
  no such file to load -- net/ssh
  </code></pre>
  
  <p>The gem is installed</p>
  
  <pre><code>&gt; gem list net-ssh
  
  *** LOCAL GEMS ***
  net-ssh (2.0.11)
  </code></pre>
  
  <p>Also, I tried require 'net/ssh' in IRB, and it works.</p>
  
  <p>MyController works fine on Windows, but fail on Ubuntu.</p>
  
  <p>What can be wrong?</p>