Skip to content

Mar 17 / Rupak Ganguly

Installing gems behind proxy servers

It is well documented as part of gem help that using the following common options:

-p, –[no-]http-proxy [URL]      Use HTTP proxy for remote operations

will allow gem to use the proxy server for remote operations. While this has worked for me before, but recently for some reason I have been getting errors. So, the other alternative that works for me is to set the environment variable HTTP_PROXY as such:

set HTTP_PROXY=http://[proxy url]:[port]

Actually this option is convenient. I have set the above environment variable permanently for the machines that I use at work which are behind proxy servers.


leave a comment
  1. spaghetti przepis / Jun 13 2014

    Hi would you mind stating which blog platform you’re using?
    I’m going to start my own blog in the near future but I’m having a tough time choosing between BlogEngine/Wordpress/B2evolution and
    Drupal. The reason I ask is because your design seems different then most blogs and I’m
    looking for something completely unique. P.S My apologies for getting off-topic but I
    had to ask!

  2. Rupak Ganguly / Mar 4 2009

    I cannot read spanish, so if someone can translate, it would be helpful.

Trackbacks and Pingbacks

  1. Instalando o Ruby, no Windows, sem o One-click Installer « Beyond Click
Leave a Comment