1)我使用spree和我的gem文件代码创建应用程序。
rails 4.1.6
gem 'spree', '2.3.4'
gem 'spree_gateway', :git => 'https://github.com/spree/spree_gateway.git', :branch => '2-3-stable'
gem' spree_auth_devise',:git => ' https://github.com/spree/spree_auth_devise.git',:branch => ' 2-3稳定'
2)bundle install
3)它工作正常。
4)但我需要添加扩展名gem 'spree_gift_card', github: 'jdutil/spree_gift_card'
5)bundle install
6)给出这样的错误,
Bundler找不到gem" spree_frontend"的兼容版本:
In Gemfile:
spree_gift_card (>= 0) ruby depends on
spree_frontend (~> 2.2.0) ruby
spree (= 2.3.4) ruby depends on
spree_frontend (2.3.4)
答案 0 :(得分:0)
你有两个选择