简体   繁体   English

狂欢安装错误

[英]Spree install error

When i try to : 当我尝试:

spree install - spree is not a rails project 狂欢安装-狂欢不是Rails项目

When i add gem to gemfile - and try to i rails generate spree:install 当我将gem添加到gemfile-并尝试使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'

The spree Github page says this is how to add spree to an application. 大礼包Github页面说这是如何向应用程序添加大礼包。

gem install rails -v 3.2.13
gem install spree
rails _3.2.13_ new my_store
spree install my_store

Which version of spree, you are trying to install..?? 您正在尝试安装哪个版本的狂欢。

Follow the steps as mentioned on https://github.com/spree/spree 请按照https://github.com/spree/spree上提到的步骤进行操作

Recommended is add spree gem to your Gemfile and run bundle install. 推荐将spree gem添加到您的Gemfile并运行安装包。 Use stable version of Spree. 使用稳定版本的Spree。 gem 'spree', github: 'spree/spree', branch: '2-0-stable' (Add this to your Gemfile) gem'spree',github:'spree / spree',分支:'2-0-stable'(将此添加到您的Gemfile中)

Just for Info - 仅供参考-
Current version of spree(2.0.3) doesn't include Jirafe 当前版本的spree(2.0.3)不包含Jirafe

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM