English 中文(简体)
• 如何迫使外部宝石从供应商夹中装载
原标题:How to force external gems to be loaded from vendor folder

I m 包装了少量外部依赖物(如液体、快车等),这里的唯一要求是安装灰).的用户可使用该净额(一些代理限制)。 我把我的宝石放在“vendor/bundle/jruby/1.9”的夹中,只是问我如何迫使用户使用这些宝石,而不是从?

Thanks!

问题回答

如果你真想这样做,你就可以把你的宝石file掉,把这些宝石作为附属物。

这意味着,当用户安装 g时,他就能够下载任何其他宝石。

在你看来,你需要要求你们的每一个内层。

如果你想确保你获得自己的内em,而不是在用户系统中事先存在的灰.,那么你就可以使用装载途径:除此以外,用你自己的手臂装满,然后恢复负荷。





相关问题
Ruby parser in Java

The project I m doing is written in Java and parsers source code files. (Java src up to now). Now I d like to enable parsing Ruby code as well. Therefore I am looking for a parser in Java that parses ...

rails collection_select vs. select

collection_select and select Rails helpers: Which one should I use? I can t see a difference in both ways. Both helpers take a collection and generates options tags inside a select tag. Is there a ...

RubyCAS-Client question: Rails

I ve installed RubyCAS-Client version 2.1.0 as a plugin within a rails app. It s working, but I d like to remove the ?ticket= in the url. Is this possible?

Ordering a hash to xml: Rails

I m building an xml document from a hash. The xml attributes need to be in order. How can this be accomplished? hash.to_xml

multiple ruby extension modules under one directory

Can sources for discrete ruby extension modules live in the same directory, controlled by the same extconf.rb script? Background: I ve a project with two extension modules, foo.so and bar.so which ...

Text Editor for Ruby-on-Rails

guys which text editor is good for Rubyonrails? i m using Windows and i was using E-Texteditor but its not free n its expired now can anyone plese tell me any free texteditor? n which one is best an ...

热门标签