I am trying to install ruby gems behind NTLM proxy. My OS is Windows 7. These are all the solutions that I tried, non of them working.
Using HTTP_PROXY:
set HTTP_PROXY=http://domain\user:pass@proxy.company.com:8080
set HTTP_PROXY=http://domain\\user:pass@proxy.company.com:8080
set HTTP_PROXY=http://domain\\user:pass@proxy.company.com:8080/
All above response bad URI
set HTTP_PROXY=http://user:pass@proxy.company.com:8080
Response: bad response Proxy Authentication Required 407
Using -p or --http-proxy parameter from Ruby
gem install -p "http://domain\user:pass@proxy.company.com:8080" rake
gem install -p "http://domain\\user:pass@proxy.company.com:8080" rake
gem install -p http://domain\user:pass@proxy.company.com:8080 rake
gem install -p http://domain\\user:pass@proxy.company.com:8080 rake
gem install --http-proxy "http://domain\user:pass@proxy.company.com:8080" rake
gem install --http-proxy "http://domain\\user:pass@proxy.company.com:8080" rake
gem install --http-proxy http://domain\user:pass@proxy.company.com:8080 rake
gem install --http-proxy http://domain\\user:pass@proxy.company.com:8080 rake
All response: invalid argument
Try all the options above without the domain or encode the \ to %5C will receive reponse: bad response Proxy Authentication Required 407
What did I miss in these command or setup?