Command line switches for Ruby Gems don’t seem to work in the latest release. Running the following before you run the gem command on Windows seems to work:
SET HTTP_PROXY=http://%USER%:%PASSWORD%@%SERVER%:%PORT%
Posted in gems, ruby, ruby on rails
Reading:
Social