[英]Bundler could not find compatible versions for gem spree_core (Spree Ruby on Rails)
[英]Bundler could not find compatible versions for gem “rails”: for spree
我正在嘗試使用2.2.2版本的捆綁包捆綁Rails 4.0.4的安裝,並且面臨以下問題:
Bundler找不到與寶石“ rails”兼容的版本:在Gemfile中:spree(= 2.2.2)ruby取決於spree_core(= 2.2.2)ruby取決於rails(〜> 4.0.5)ruby
rails (4.0.4)
在我的Gemfile中:
寶石'spree','2.2.2'
gem'spree_gateway',:git =>' https://github.com/spree/spree_gateway.git',:branch =>'2-2-stable'
gem'spree_auth_devise',:git =>' https://github.com/spree/spree_auth_devise.git',:branch =>'2-2-stable'
我修復的上述錯誤的解決方案:通過以下方式添加以下gem依賴項:
gem'spree',:git =>“ https://github.com/spree/spree.git ”,分支:'2-1-stable'
gem'spree_auth_devise',:git =>“ https://github.com/radar/spree_auth_devise.git ”,分支:'2-1-stable'
哪個解決了我的問題,
另外,您需要手動安裝nokogiri
gem install nokogiri---use-system-libraries。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.