issues with Spree

后端 未结 4 1927
遇见更好的自我
遇见更好的自我 2021-02-11 11:14

I am trying to install and run Spree on my local machine by following the steps mentioned in Getting started with Spree

However, when I start the server I get the follow

4条回答
  •  太阳男子
    2021-02-11 11:50

    The 'pages' table is used by the spree_static_content gem. You can either remove the gem from your gemfile, or you can generate migrations for the static content gem:

    rails generate spree_static_content:install
    

    If you've included the 'spree_product_assembly' gem as well, you'll want to do the same for it:

    rails generate spree_product_assembly:install
    

    Then, reset the database (just to make sure)

    rake db:bootstrap
    rake db:admin:create
    

    I ran into similar issues after trying the http://spreecommerce.com/documentation/getting_started.html instructions, but it seems to have created a nice demo app after taking these additional steps.

提交回复
热议问题