嗨,你可以帮我解决这个问题:
spree install
[WARNING] Spree CMD Installer is deprecated. Please follow installation instructions at https://github.com/spree/spree#getting-started
Would you like to install the default gateways? (Recommended) (yes/no) [yes]
Would you like to install the default authentication system? (yes/no) [yes]
Would you like to run the migrations? (yes/no) [yes]
Would you like to load the seed data? (yes/no) [yes]
Would you like to load the sample data? (yes/no) [yes]
gemfile spree
gemfile spree_gateway
gemfile spree_auth_devise
run bundle install from "."
Could not find gem 'spree_auth_devise (~> 3.0.0) ruby' in the gems available on this machine.
Run `bundle install` to install missing gems.
当我输入bundle install时,它说:
bundle install
Fetching gem metadata from https://rubygems.org/.............
Fetching additional metadata from https://rubygems.org/..
Resolving dependencies...
Bundler could not find compatible versions for gem "jquery-rails":
In Gemfile:
spree (~> 3.1.0) ruby depends on
spree_frontend (= 3.1.0) ruby depends on
jquery-rails (~> 4.1) ruby
jquery-rails (3.1.4)
请帮助我,我正在创建电子商务网站
答案 0 :(得分:1)
您正在使用Rails 4.1,但Spree 3.1需要README中详述的Rails 4.2.6。
将您的Gemfile中的rails
行更新为gem "rails", "4.2.6"
,祝您的网站好运。