Open yohandh opened 6 years ago
I manage to resolve this issue. Here are the steps:
Open: C:\Ruby25-x64\lib\ruby\gems\2.5.0\bundler\gems\spree_auth_devise-f155d176565f\db\default\users.rb
Change q.echo = false to q.echo = true under prompt_for_admin_password function. (Line is 10)
Then remove the tables from database.
Run below scripts from start: rake db:migrate rake db:seed rake spree_sample:load
It's pause on Email and Password steps: $ rake db:seed Please add the following to your Gemfile to avoid polling for changes: gem 'wdm', '>= 0.1.0' if Gem.win_platform? Please add the following to your Gemfile to avoid polling for changes: gem 'wdm', '>= 0.1.0' if Gem.win_platform? loading ruby C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/spree_core-3.6.1/db/default/spree/countries.rb loading ruby C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/spree_core-3.6.1/db/default/spree/default_reimbursement_type.rb loading ruby C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/spree_core-3.6.1/db/default/spree/promotions.rb Loaded Option Types samples Loaded Option Values samples Loaded Tax Categories samples Loaded Shipping Categories samples Loaded Products samples loading ruby C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/spree_core-3.6.1/db/default/spree/roles.rb loading ruby C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/spree_core-3.6.1/db/default/spree/states.rb loading ruby C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/spree_core-3.6.1/db/default/spree/stores.rb loading ruby C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/spree_core-3.6.1/db/default/spree/zones.rb loading ruby C:/Ruby25-x64/lib/ruby/gems/2.5.0/bundler/gems/spree_auth_devise-f155d176565f/db/default/users.rb Create the admin user (press enter for defaults). Email [spree@example.com]: Password [spree123]: