How to get Ruby Gems to work behind the corporate firewall

This is just a note to remind me.  Ruby and ruby gems don’t automatically pick up on your proxy information in IE.  Instead, find out the proxy and set the following environment variables.

in windows:  set http_proxy=http://user:password@internalcorporateproxy.com

in cygwin/unix: export http_proxy http://user:password@internalcorporateproxy.com

But wait, there's more

This entry was posted in Dev, Ruby and tagged , , . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WP Hashcash

  • Categories

  • Old Posts