When you want to use gem (rubygems) behind a proxy, create a .gemrc file in your user home directory and add this line:
gem: --http-proxy http://proxy.host:1234
When you want to use gem (rubygems) behind a proxy, create a .gemrc file in your user home directory and add this line:
gem: --http-proxy http://proxy.host:1234
For setting the proxy you need to edit a file named .gitconfig. This file should be located in your user folder, C:\Users\[xxxxx]\.gitconfig with [xxxxx] being your windows username.
In this file you need to add following lines, adapted to your proxy:
[http] proxy = http://proxy.example.com:8080 [https] proxy = http://proxy.example.com:8080
When you want to use npm (http://npmjs.org/), package manager for node, behind a proxy, pay attention that there are two parameters for setting up a proxy:
As https is the default protocol for fetching the packages from the npm repository you must set the second one.
Another workaround is to change the rep url into a http one.