使用spree_fancy和spree_core 2.0.3时,Gemfile中存在冲突问题

时间:2013-06-24 10:39:01

标签: ruby-on-rails spree

我是狂热的新手,我遇到了安装spree_fancy的问题。任何帮助解决我的问题都将不胜感激!

我正在关注狂欢教程并遇到第二个问题: 1. getting_started_tutorial.html 2. extensions_tutorial.html

当我将spree_fancy添加到我的gemfile并运行命令bundle install时,我收到此错误:

    Bundler could not find compatible versions for gem "spree_core":
    In Gemfile:
    spree_fancy (>= 0) ruby depends on
    spree_core (~> 1.3.0) ruby

    spree_auth_devise (>= 0) ruby depends on
    spree_core (2.0.3)

========================================

我的gemfile如下所示:

    source 'https://rubygems.org'

    gem 'rails', '3.2.13'

    gem 'sqlite3'

    group :assets do
      gem 'sass-rails',   '~> 3.2.3'
      gem 'coffee-rails', '~> 3.2.1'
      gem 'uglifier', '>= 1.0.3'
    end

    gem 'jquery-rails', '2.2.1'

    gem 'spree', branch: '2.0.3'
    gem 'spree_gateway', :git => 'https://github.com/spree/spree_gateway.git', :branch => '2-0-stable'
    gem 'spree_auth_devise', :git => 'https://github.com/spree/spree_auth_devise.git', :branch => '2-0-stable'

======================================== 感谢任何帮助!

1 个答案:

答案 0 :(得分:1)

您需要使用2-0-stable分支中的spree_fancy。在Gemfile中尝试以下操作:

gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '2-0-stable'