Ruby Gem Proxy 代理设置
今天有个问题,Ruby Gem命令install的时候,如果遇到有代理,需要设置
?
?
具体的:
$ gem install --http-proxy?http://localhost:8888?$gem_name
?
设置代理方法如上
?
?
参考:
http://stackoverflow.com/questions/4418/how-do-i-update-ruby-gems-from-behind-a-proxy-isa-ntlm
http://docs.rubygems.org/read/chapter/13#page51
http://docs.rubygems.org/read/chapter/15#page67
?
?