0

I am trying to experiment with rails on windows at work. At work we sit behind a proxy I think that is why following command is not working.

How can I set HTTP proxy environments from windows command line?

C:\>gem install rails
ERROR:  http://gems.rubyforge.org/ does not appear to be a repository
ERROR:  could not find gem rails locally or in a repository

1 Answers1

0

Either use the set command to set the HTTP_PROXY environment variable, or use the --http-proxy argument to gem.

Ignacio Vazquez-Abrams
  • 45,939
  • 6
  • 79
  • 84