Issue installing gems on windows 7 with proxy
The HTTP_PROXY
syntax needs to be URI:
SET HTTP_PROXY=scheme://user:pass@host:port/path
scheme
could be http
or https
and on some cases path
could be absent.
No browser (or RubyGems) will accept as valid URL the one you provided.
So in your case:
SET HTTP_PROXY=http://username:[email protected]:8080/
Hope that helps
At work i have a proyx also, SET HTTP_PROXY=http://proxyhere.com:8080
works there, so try it without usename/password. It depends on the type of proxy i presume.
You could also use:
gem install --http-proxy http://proxyhere.com:8080 $gem_name
See this for more info How do I update Ruby Gems from behind a Proxy (ISA-NTLM)