从公司防火墙后面安装宝石

编程入门 行业动态 更新时间:2024-10-25 20:20:07
本文介绍了从公司防火墙后面安装宝石的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我怀疑公司防火墙正在阻止安装宝石。我已经定义了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.

更多推荐

从公司防火墙后面安装宝石

本文发布于:2023-06-11 17:25:56,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:防火墙   公司

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!