Reputation: 187
I am trying to get the spree-static-content up and running. I am currently using:
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'
However, when I start running my rails server, I will receive the following error:
ActiveRecord::StatementInvalid in Spree::StaticContentController#show
Could not find table 'spree_pages'
raise(ActiveRecord::StatementInvalid, \
"Could not find table '#{table_name}'") if structure.empty?
Upvotes: 0
Views: 384
Reputation: 121020
Gem’s README:
bundle exec rails g spree_static_content:install
Upvotes: 1