Tuesday, May 20, 2008

rubygems behind an authenticated proxy

so setting the --http-proxy variable on the command line including username and password seemed buggy.
I got it to work in windows by running


set HTTP_PROXY=http://proxy:port
set HTTP_PROXY_USER=username
set HTTP_PROXY_PASS=password

gem install rails --include-dependencies

pause

No comments:

About Me

skilled in asp.net, a little java, and now trying some rails. fun stuff