私人红宝石宝石服务器与认证 [英] Private Ruby Gem Server with Authentication
问题描述
我想安装一个私人的Ruby宝石服务器与一些认证。我希望能够使用公共Ubuntu的服务器托管在内部宝石。
I want to install a private Ruby gem server with some authentication. I want to be able to host in-house gems using a public Ubuntu server.
我读到 http://docs.rubygems.org/read/chapter/18一>。但是,与一个没有认证 - 我可以看到
I read about http://docs.rubygems.org/read/chapter/18. But there is no authentication with that one - as I can see.
然后我读到 https://github.com/cwninja/geminabox 。但是,当我使用基本身份验证(它们在他们的维基),其投诉从我的服务器获取源代码。
Then I read about https://github.com/cwninja/geminabox. But when I use the basic authentication (they have in their Wiki), it complaints about fetching the sources from my server.
所以。我怎样才能使身份验证的私人红宝石宝石服务器?是,仅仅是不可能的?
So. How can I make a private Ruby gem server with authentication? Is that just impossible?
感谢。
编辑:
Geminabox问题。我尝试捆绑安装新的宝石......但它给了我这个错误:
Geminabox problem. I try to "bundle" to install new gems... but it gives me this error:
AGS-的MacBook-PRO:super_app AG $捆绑
AGs-MacBook-Pro:super_app AG$ bundle
有关HTTP的获取来源分类指数:// rubygems.org /
Fetching source index for http:// rubygems.org/
抓取来源分类指数为HTTP://本地主机:9292 /
Fetching source index for http:// localhost:9292/
无法达到的RubyGems库的http:// rubygems.org/,HTTP://本地主机:9292 /
Could not reach rubygems repository http:// rubygems.org/, http:// localhost:9292/
找不到aglipsum-0.0.1中任何的来源
Could not find aglipsum-0.0.1 in any of the sources
和aglipsum是我定制的宝石。然而,当我没有对基本身份验证,它的工作原理。
And "aglipsum" is my custom gem. However when I do not have basic authentication on, it works.
推荐答案
一些专业的二进制库管理器如的 Artifactory的,支持民营RubyGems的存储库。
Some professional binary repository managers, such as Artifactory, support private RubyGems repositories.
这篇关于私人红宝石宝石服务器与认证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!