[英]Could not find table 'spree_pages'
我正在尝试启动并运行spree-static-content 。 我目前正在使用:
gem 'rails', '4.2.3'
gem 'spree', '3.0.4'
gem 'spree_gateway', github: 'spree/spree_gateway', branch: '3-0-stable'
gem 'spree_auth_devise', github: 'spree/spree_auth_devise', branch: '3-0-stable'
gem 'spree_editor', github: 'spree-contrib/spree_editor', branch: '3-0-stable'
gem 'spree_static_content', github: 'spree-contrib/spree_static_content', branch: '3-0-stable'
但是,当我开始运行Rails服务器时,将收到以下错误:
ActiveRecord::StatementInvalid in Spree::StaticContentController#show
Could not find table 'spree_pages'
raise(ActiveRecord::StatementInvalid, \
"Could not find table '#{table_name}'") if structure.empty?
宝石的自述文件 :
bundle exec rails g spree_static_content:install
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.