Frage

Is there a way to specify somewhere the proxy in rails projects so that I don't have to manually type it each time, like this: gem install --HTTP-PROXY http://web-proxy:8088 bundle

I need to be able to type: gem install bundle and the proxy should be 'understood' by default. How can this be done? I am using Windows 7.

War es hilfreich?

Lösung

gem will use the HTTP_PROXY environment variable if set. Just set that in Windows 7 and it will be used by default.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top