Using Ruby Gem through a proxy

in the command line:

gem install –http-proxy http://%USER%:%PASSWORD%@%SERVER%:%PORT% $gemname

ex:

gem install –http-proxy http://jane:mypass@myproxy:8080 sass

Advertisements