我在github上分叉了spree repo,我想在我的rails应用程序的Gemfile中指定一个位于core
子目录中的gem主要存储库。如何在Gemfile中指定位于Git存储库的子目录中的.gemspec
库的文件夹结构如下:
|~spree [git root]
| |-spree.gemspec [spree gem located here]
|~core
| |-spree_core.gemspec [spree_core gem located here]
换句话说,我愿做沿着这些路线的东西:
gem 'spree-core', :git => 'git://github.com/spree/spree.git'
的问题是,我得到下面的错误消息时,我尝试bundle install
:
找不到宝石 '热潮芯(> = 0)' 在GIT中:/ /github.com/spree/spree.git(在主人)。 源不包含任何版本的“大礼包核(> = 0)”