문제

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