当我尝试:
spree install - spree不是rails项目
当我向gemfile添加gem时 - 并尝试i rails生成spree:install
.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection': ActiveRecord::ConnectionNotEstablished (ActiveRecord::ConnectionNotEstablished)
from /home/efectiva/.rvm/gems/ruby-1.9.3-p448/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
答案 0 :(得分:2)
狂欢Github page说这是如何将spree添加到应用程序。
gem install rails -v 3.2.13
gem install spree
rails _3.2.13_ new my_store
spree install my_store
答案 1 :(得分:0)
您正在尝试安装哪个版本的狂欢.. ??
按照https://github.com/spree/spree
中提到的步骤操作建议在您的Gemfile中添加spree gem并运行bundle install。使用稳定版的Spree。 gem'spree',github:'spree / spree',branch:'2-0-stable'(将此添加到您的Gemfile中)
仅供参考 -
当前版本的狂欢(2.0.3)不包括Jirafe