我在spree 2.1.3中构建了一个狂欢商店,但我想使用的一个gem需要spree_core 2.2.0 beta。
Bundler could not find compatible versions for gem "spree_core":
In snapshot (Gemfile.lock):
spree_core (2.1.3)
In Gemfile:
spree_static_content (>= 0) ruby depends on
spree_core (~> 2.2.0.beta) ruby
我可以将spree_core升级到2.2.0 beta吗?我主要担心的一个问题是使用spree 2.1.3和spree_fancy主题生成错误。我已经根据自己的喜好修改了主题。另外,我不是Ruby的专家所以我不确定如果我最终有错误,我是否能够修复它。我想知道我是否应该放弃使用这个特定的宝石或将我的spree_core升级到测试版。
答案 0 :(得分:0)
您不必使用master分支。只需看看link
所有狂欢官方扩展都有适用于各种狂欢版本的版本(从0到2-1)和当前版本的狂欢版本。
要使用它,请修改您的Gemfile:
gem 'spree_static_content', :github => 'spree/spree_static_content', :branch => '2-1-stable'
并且您不必安装新版本的狂欢。