Вопрос

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.

Это было полезно?

Решение

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

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top