Thursday, February 5, 2009

rubygems proxy URL

The proper format to set the proxy for 'gem' inside my corporate firewall is:

gem install xyz --http-proxy http://user:pass@proxy.domain.com:8080/

Must have the port for anything to work. Probably can put this in ".gemrc".

No comments:

Post a Comment