title: Installing gems from behind a corporate firewall
body: <p>I suspect that the corporate firewall is preventing gems from getting installed. I have HTTP_PROXY defined and I'm able to view remote gems via the following command:</p>
  
  <pre><code>jruby -S gem list -r
  </code></pre>
  
  <p>But when I go to install a gem, I get a 404:</p>
  
  <pre><code>jruby -S gem install rails
  </code></pre>
  
  <p>Is there a good workaround for resolving this issue other than maintaining an internal gem repository?</p>