2013-06-24 24 views
0

我是新手,我在安裝spree_fancy時遇到了問題。任何幫助解決我的問題,將不勝感激!使用spree_fancy和spree_core時Gemfile中存在衝突問題2.0.3

我正在關注的大禮包教程,並與第二個問題:1。 getting_started_tutorial.html 2. extensions_tutorial.html

當我添加spree_fancy我的Gemfile和運行我得到這個錯誤該命令包安裝:

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

您需要使用2-0穩定分支中的spree_fancy。在Gemfile中試試以下內容:

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