本文介绍了从公司防火墙后面安装宝石的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我怀疑公司防火墙正在阻止安装宝石。我已经定义了HTTP_PROXY,并且可以通过以下命令查看远程宝石:
I suspect that the corporate firewall is preventing gems from getting installed. I have HTTP_PROXY defined and I'm able to view remote gems via the following command:
jruby -S gem list -r但是当我去安装一个gem时,我得到了一个404:
But when I go to install a gem, I get a 404:
jruby -S gem install rails解决这个问题是否有一个很好的解决方法,而不是维护一个内部gem仓库?
Is there a good workaround for resolving this issue other than maintaining an internal gem repository?
推荐答案gemcutter人们将模式转移到亚马逊的Cloudfront,并能够通过我的雇主的防火墙再次下载宝石。
I've retested this since the gemcutter folks made the mode to Amazon's Cloudfront and am able to download gems again through my employer's firewall.
更多推荐
从公司防火墙后面安装宝石
发布评论