0

我是 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'

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

4

1 回答 1

1

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

gem 'spree_fancy', :github => 'spree/spree_fancy', :branch => '2-0-stable'
于 2013-06-24T13:23:48.583 回答