Closed hero4barca closed 3 years ago
Here I provide an even more complete trace of the process and what I have observed. form the very start.
C:\Users\Iffiok\Documents\Projects\komai africa>rails new komai_store --skip-javascript
create
create README.md
create Rakefile
create .ruby-version
create config.ru
create .gitignore
create Gemfile
run git init from "."
Initialized empty Git repository in C:/Users/Iffiok/Documents/Projects/komai africa/komai_store/.git/
create app
create app/assets/config/manifest.js
create app/assets/stylesheets/application.css
create app/channels/application_cable/channel.rb
create app/channels/application_cable/connection.rb
create app/controllers/application_controller.rb
create app/helpers/application_helper.rb
create app/javascript/channels/consumer.js
create app/javascript/channels/index.js
create app/javascript/packs/application.js
create app/jobs/application_job.rb
create app/mailers/application_mailer.rb
create app/models/application_record.rb
create app/views/layouts/application.html.erb
create app/views/layouts/mailer.html.erb
create app/views/layouts/mailer.text.erb
create app/assets/images
create app/assets/images/.keep
create app/controllers/concerns/.keep
create app/models/concerns/.keep
create bin
create bin/rails
create bin/rake
create bin/setup
create bin/yarn
create config
create config/routes.rb
create config/application.rb
create config/environment.rb
create config/cable.yml
create config/puma.rb
create config/storage.yml
create config/environments
create config/environments/development.rb
create config/environments/production.rb
create config/environments/test.rb
create config/initializers
create config/initializers/application_controller_renderer.rb
create config/initializers/assets.rb
create config/initializers/backtrace_silencers.rb
create config/initializers/content_security_policy.rb
create config/initializers/cookies_serializer.rb
create config/initializers/cors.rb
create config/initializers/filter_parameter_logging.rb
create config/initializers/inflections.rb
create config/initializers/mime_types.rb
create config/initializers/new_framework_defaults_6_0.rb
create config/initializers/wrap_parameters.rb
create config/locales
create config/locales/en.yml
create config/master.key
append .gitignore
create config/boot.rb
create config/database.yml
create db
create db/seeds.rb
create lib
create lib/tasks
create lib/tasks/.keep
create lib/assets
create lib/assets/.keep
create log
create log/.keep
create public
create public/404.html
create public/422.html
create public/500.html
create public/apple-touch-icon-precomposed.png
create public/apple-touch-icon.png
create public/favicon.ico
create public/robots.txt
create tmp
create tmp/.keep
create tmp/pids
create tmp/pids/.keep
create tmp/cache
create tmp/cache/assets
create vendor
create vendor/.keep
create test/fixtures
create test/fixtures/.keep
create test/fixtures/files
create test/fixtures/files/.keep
create test/controllers
create test/controllers/.keep
create test/mailers
create test/mailers/.keep
create test/models
create test/models/.keep
create test/helpers
create test/helpers/.keep
create test/integration
create test/integration/.keep
create test/channels/application_cable/connection_test.rb
create test/test_helper.rb
create test/system
create test/system/.keep
create test/application_system_test_case.rb
create storage
create storage/.keep
create tmp/storage
create tmp/storage/.keep
remove app/javascript
remove config/initializers/cors.rb
remove config/initializers/new_framework_defaults_6_0.rb
remove bin/yarn
run bundle install
Fetching gem metadata from https://rubygems.org/.............
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies......
Using rake 13.0.1
Using concurrent-ruby 1.1.7
Using i18n 1.8.5
Using minitest 5.14.2
Using thread_safe 0.3.6
Using tzinfo 1.2.8
Using zeitwerk 2.4.2
Using activesupport 6.0.3.4
Using builder 3.2.4
Using erubi 1.10.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.10 (x64-mingw32)
Using rails-dom-testing 2.0.3
Using crass 1.0.6
Using loofah 2.8.0
Using rails-html-sanitizer 1.3.0
Using actionview 6.0.3.4
Using rack 2.2.3
Using rack-test 1.1.0
Using actionpack 6.0.3.4
Using nio4r 2.5.4
Using websocket-extensions 0.1.5
Using websocket-driver 0.7.3
Using actioncable 6.0.3.4
Using globalid 0.4.2
Using activejob 6.0.3.4
Using activemodel 6.0.3.4
Using activerecord 6.0.3.4
Using mimemagic 0.3.5
Using marcel 0.3.3
Using activestorage 6.0.3.4
Using mini_mime 1.0.2
Using mail 2.7.1
Using actionmailbox 6.0.3.4
Using actionmailer 6.0.3.4
Using actiontext 6.0.3.4
Using public_suffix 4.0.6
Using addressable 2.7.0
Using bindex 0.8.1
Using msgpack 1.3.3 (x64-mingw32)
Using bootsnap 1.5.1
Using bundler 2.1.4
Using byebug 11.1.3
Using regexp_parser 1.8.2
Using xpath 3.2.0
Using capybara 3.34.0
Using childprocess 3.0.0
Using ffi 1.13.1 (x64-mingw32)
Using jbuilder 2.10.1
Using method_source 1.0.0
Using puma 4.3.7
Using thor 1.0.1
Using railties 6.0.3.4
Using sprockets 4.0.2
Using sprockets-rails 3.2.2
Using rails 6.0.3.4
Using rubyzip 2.3.0
Using sassc 2.4.0 (x64-mingw32)
Using tilt 2.0.10
Using sassc-rails 2.1.2
Using sass-rails 6.0.0
Using selenium-webdriver 3.142.7
Using sqlite3 1.4.2
Using tzinfo-data 1.2020.4
Using web-console 4.1.0
Using webdrivers 4.4.1
Bundle complete! 12 Gemfile dependencies, 66 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
run bundle binstubs bundler
Just to mention, this works fine. As expected.
C:\Users\Iffiok\Documents\Projects\komai africa>cd komai_store
C:\Users\Iffiok\Documents\Projects\komai africa\komai_store>bundle install
Fetching gem metadata from https://rubygems.org/.............
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies....
Using rake 13.0.1
Using concurrent-ruby 1.1.7
Using i18n 1.8.5
Using minitest 5.14.2
Using thread_safe 0.3.6
Using tzinfo 1.2.8
Using zeitwerk 2.4.2
Using activesupport 6.0.3.4
Using builder 3.2.4
Using erubi 1.10.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.10 (x64-mingw32)
Using rails-dom-testing 2.0.3
Using crass 1.0.6
Using loofah 2.8.0
Using rails-html-sanitizer 1.3.0
Using actionview 6.0.3.4
Using rack 2.2.3
Using rack-test 1.1.0
Using actionpack 6.0.3.4
Using nio4r 2.5.4
Using websocket-extensions 0.1.5
Using websocket-driver 0.7.3
Using actioncable 6.0.3.4
Using globalid 0.4.2
Using activejob 6.0.3.4
Using activemodel 6.0.3.4
Using activerecord 6.0.3.4
Using mimemagic 0.3.5
Using marcel 0.3.3
Using activestorage 6.0.3.4
Using mini_mime 1.0.2
Using mail 2.7.1
Using actionmailbox 6.0.3.4
Using actionmailer 6.0.3.4
Using actiontext 6.0.3.4
Using activemerchant 1.117.0
Using acts_as_list 1.0.2
Using public_suffix 4.0.6
Using addressable 2.7.0
Using execjs 2.7.0
Using autoprefixer-rails 10.0.3.0
Using awesome_nested_set 3.2.1
Using bindex 0.8.1
Using msgpack 1.3.3 (x64-mingw32)
Using bootsnap 1.5.1
Using bundler 2.1.4
Using byebug 11.1.3
Using cancancan 3.1.0
Using method_source 1.0.0
Using thor 1.0.1
Using railties 6.0.3.4
Using sprockets 4.0.2
Using sprockets-rails 3.2.2
Using rails 6.0.3.4
Using canonical-rails 0.2.9
Using regexp_parser 1.8.2
Using xpath 3.2.0
Using capybara 3.34.0
Using carmen 1.1.3
Using childprocess 3.0.0
Using climate_control 0.2.0
Using coffee-script-source 1.12.2
Using coffee-script 2.4.1
Using coffee-rails 5.0.0
Using discard 1.2.0
Using ffi 1.13.1 (x64-mingw32)
Using font-awesome-rails 4.7.0.5
Using friendly_id 5.4.1
Using tilt 2.0.10
Using handlebars_assets 0.23.8
Using mini_magick 4.11.0
Using ruby-vips 2.0.17
Using image_processing 1.12.1
Using jbuilder 2.10.1
Using jquery-rails 4.4.0
Using kaminari-core 1.2.1
Using kaminari-actionview 1.2.1
Using kaminari-activerecord 1.2.1
Using kaminari 1.2.1
Using mime-types-data 3.2020.1104
Using mime-types 3.3.1
Using money 6.13.8
Using monetize 1.9.4
Using terrapin 0.6.0
Using paperclip 6.1.0
Using paranoia 2.4.2
Using puma 4.3.7
Using ransack 2.4.0
Using responders 3.0.1
Using rubyzip 2.3.0
Using sassc 2.4.0 (x64-mingw32)
Using sassc-rails 2.1.2
Using sass-rails 6.0.0
Using selenium-webdriver 3.142.7
Using state_machines 0.5.0
Using state_machines-activemodel 0.7.1
Using state_machines-activerecord 0.6.0
Using solidus_core 2.11.3
Using solidus_api 2.11.3
Using solidus_backend 2.11.3
Using truncate_html 0.9.3
Using solidus_frontend 2.11.3
Using solidus_sample 2.11.3
Using solidus 2.11.3
Using sqlite3 1.4.2
Using tzinfo-data 1.2020.4
Using web-console 4.1.0
Using webdrivers 4.4.1
Bundle complete! 13 Gemfile dependencies, 109 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
C:\Users\Iffiok\Documents\Projects\komai africa\komai_store>bundle exec rails generate solidus:install
DEPRECATION WARNING: Spree::Config.raise_with_invalid_currency set to true is deprecated. Please note that by switching this value, Spree::LineItem::CurrencyMismatch will not be raised anymore. (called from <main> at C:/Users/Iffiok/Documents/Projects/komai africa/komai_store/config/environment.rb:5)
DEPRECATION WARNING: Spree::Config.consider_actionless_promotion_active set to true is deprecated. Please note that by switching this value, promotions with no actions will be considered active. (called from <main> at C:/Users/Iffiok/Documents/Projects/komai africa/komai_store/config/environment.rb:5)
DEPRECATION WARNING: Spree::Config.run_order_validations_on_order_updater set to false is deprecated and will not be possibile in Solidus 3.0. Please switch this value to true and check that everything works as expected. (called from <main> at C:/Users/Iffiok/Documents/Projects/komai africa/komai_store/config/environment.rb:5)
DEPRECATION WARNING: Spree::Config.use_legacy_address_state_validator set to true has been deprecated and will be removed in Solidus 3.0. The Spree::Address state validation has been extracted into a configurable external class. Switch Spree::Config.use_legacy_address_state_validator to true to start using the external validation class. (called from <main> at C:/Users/Iffiok/Documents/Projects/komai africa/komai_store/config/environment.rb:5)
create config/initializers/spree.rb
append public/robots.txt
exist app/assets/images
create vendor/assets/javascripts/spree/frontend
create vendor/assets/javascripts/spree/backend
create vendor/assets/stylesheets/spree/frontend
create vendor/assets/stylesheets/spree/backend
create vendor/assets/images/spree/frontend
create vendor/assets/images/spree/backend
create vendor/assets/javascripts/spree/frontend/all.js
create vendor/assets/stylesheets/spree/frontend/all.css
create vendor/assets/javascripts/spree/backend/all.js
create vendor/assets/stylesheets/spree/backend/all.css
create app/overrides
Solidus has a default authentication extension that uses Devise.
You can find more info at https://github.com/solidusio/solidus_auth_devise.
Solidus has a default authentication extension that uses Devise.
You can find more info at https://github.com/solidusio/solidus_auth_devise.
Solidus has a default authentication extension that uses Devise.
You can find more info at https://github.com/solidusio/solidus_auth_devise.
Solidus has a default authentication extension that uses Devise.
You can find more info at https://github.com/solidusio/solidus_auth_devise.
Would you like to install it? (y/n) y
You can select a payment method to be included in the installation process.
You can select a payment method to be included in the installation process.
You can select a payment method to be included in the installation process.
You can select a payment method to be included in the installation process.
You can select a payment method to be included in the installation process.
You can select a payment method to be included in the installation process.
You can select a payment method to be included in the installation process.
You can select a payment method to be included in the installation process.
You can select a payment method to be included in the installation process.
Please select a payment method name: [paypal, none] (paypal) append db/seeds.rb
copying migrations
creating database
rake db:create
gemfile solidus_auth_devise
gemfile solidus_paypal_commerce_platform
run bundle install from "."
Fetching gem metadata from https://rubygems.org/.............
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies....
Using rake 13.0.1
Using concurrent-ruby 1.1.7
Using i18n 1.8.5
Using minitest 5.14.2
Using thread_safe 0.3.6
Using tzinfo 1.2.8
Using zeitwerk 2.4.2
Using activesupport 6.0.3.4
Using builder 3.2.4
Using erubi 1.10.0
Using mini_portile2 2.4.0
Using nokogiri 1.10.10 (x64-mingw32)
Using rails-dom-testing 2.0.3
Using crass 1.0.6
Using loofah 2.8.0
Using rails-html-sanitizer 1.3.0
Using actionview 6.0.3.4
Using rack 2.2.3
Using rack-test 1.1.0
Using actionpack 6.0.3.4
Using nio4r 2.5.4
Using websocket-extensions 0.1.5
Using websocket-driver 0.7.3
Using actioncable 6.0.3.4
Using globalid 0.4.2
Using activejob 6.0.3.4
Using activemodel 6.0.3.4
Using activerecord 6.0.3.4
Using mimemagic 0.3.5
Using marcel 0.3.3
Using activestorage 6.0.3.4
Using mini_mime 1.0.2
Using mail 2.7.1
Using actionmailbox 6.0.3.4
Using actionmailer 6.0.3.4
Using actiontext 6.0.3.4
Using activemerchant 1.117.0
Using acts_as_list 1.0.2
Using public_suffix 4.0.6
Using addressable 2.7.0
Using execjs 2.7.0
Using autoprefixer-rails 10.0.3.0
Using awesome_nested_set 3.2.1
Using bcrypt 3.1.16
Using bindex 0.8.1
Using msgpack 1.3.3 (x64-mingw32)
Using bootsnap 1.5.1
Using bundler 2.1.4
Using byebug 11.1.3
Using cancancan 3.1.0
Using method_source 1.0.0
Using thor 1.0.1
Using railties 6.0.3.4
Using sprockets 4.0.2
Using sprockets-rails 3.2.2
Using rails 6.0.3.4
Using canonical-rails 0.2.9
Using regexp_parser 1.8.2
Using xpath 3.2.0
Using capybara 3.34.0
Using carmen 1.1.3
Using childprocess 3.0.0
Using climate_control 0.2.0
Using coffee-script-source 1.12.2
Using coffee-script 2.4.1
Using coffee-rails 5.0.0
Using polyglot 0.3.5
Using rainbow 3.0.0
Using deface 1.5.3
Using orm_adapter 0.5.0
Using responders 3.0.1
Using warden 1.2.9
Using devise 4.7.3
Using devise-encryptable 0.2.0
Using discard 1.2.0
Using ffi 1.13.1 (x64-mingw32)
Using font-awesome-rails 4.7.0.5
Using friendly_id 5.4.1
Using tilt 2.0.10
Using handlebars_assets 0.23.8
Using mini_magick 4.11.0
Using ruby-vips 2.0.17
Using image_processing 1.12.1
Using jbuilder 2.10.1
Using jquery-rails 4.4.0
Using kaminari-core 1.2.1
Using kaminari-actionview 1.2.1
Using kaminari-activerecord 1.2.1
Using kaminari 1.2.1
Using mime-types-data 3.2020.1104
Using mime-types 3.3.1
Using money 6.13.8
Using monetize 1.9.4
Using terrapin 0.6.0
Using paperclip 6.1.0
Using paranoia 2.4.2
Using paypalhttp 1.0.0
Using paypal-checkout-sdk 1.0.3
Using puma 4.3.7
Using ransack 2.4.0
Using rubyzip 2.3.0
Using sassc 2.4.0 (x64-mingw32)
Using sassc-rails 2.1.2
Using sass-rails 6.0.0
Using selenium-webdriver 3.142.7
Using state_machines 0.5.0
Using state_machines-activemodel 0.7.1
Using state_machines-activerecord 0.6.0
Using solidus_core 2.11.3
Using solidus_api 2.11.3
Using solidus_backend 2.11.3
Using truncate_html 0.9.3
Using solidus_frontend 2.11.3
Using solidus_sample 2.11.3
Using solidus 2.11.3
Using solidus_support 0.7.0
Using solidus_auth_devise 2.5.2
Using solidus_webhooks 0.3.0
Using solidus_paypal_commerce_platform 0.2.2
Using sqlite3 1.4.2
Using tzinfo-data 1.2020.4
Using web-console 4.1.0
Using webdrivers 4.4.1
Bundle complete! 15 Gemfile dependencies, 123 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
run spring stop from "."
generate solidus:auth:install --skip_migrations=false
rails generate solidus:auth:install --skip_migrations=false
create config/initializers/devise.rb
run bundle exec rake railties:install:migrations FROM=solidus_auth from "."
Copied migration 20201208202924_create_users.solidus_auth.rb from solidus_auth
Copied migration 20201208202925_rename_columns_for_devise.solidus_auth.rb from solidus_auth
Copied migration 20201208202926_convert_user_remember_field.solidus_auth.rb from solidus_auth
Copied migration 20201208202927_add_reset_password_sent_at_to_spree_users.solidus_auth.rb from solidus_auth
Copied migration 20201208202928_make_users_email_index_unique.solidus_auth.rb from solidus_auth
Copied migration 20201208202929_add_deleted_at_to_users.solidus_auth.rb from solidus_auth
Copied migration 20201208202930_add_confirmable_to_users.solidus_auth.rb from solidus_auth
Copied migration 20201208202931_add_reset_password_token_index_to_spree_users.solidus_auth.rb from solidus_auth
Copied migration 20201208202932_add_unconfirmed_email_to_spree_users.solidus_auth.rb from solidus_auth
Would you like to run the migrations now? [Y/n] y run bundle exec rake db:migrate from "."
== 20201208202835 CreateActiveStorageTables: migrating ========================
-- create_table(:active_storage_blobs, {})
-> 0.0164s
-- create_table(:active_storage_attachments, {})
-> 0.0192s
== 20201208202835 CreateActiveStorageTables: migrated (0.0396s) ===============
== 20201208202836 CreateActionMailboxTables: migrating ========================
-- create_table(:action_mailbox_inbound_emails)
-> 0.0113s
== 20201208202836 CreateActionMailboxTables: migrated (0.0129s) ===============
== 20201208202837 CreateActionTextTables: migrating ===========================
-- create_table(:action_text_rich_texts)
-> 0.0130s
== 20201208202837 CreateActionTextTables: migrated (0.0150s) ==================
== 20201208202838 SolidusOneFour: migrating ===================================
-- table_exists?(:spree_addresses)
-> 0.0024s
-- create_table("spree_users", {:force=>true, :id=>:integer})
-> 0.0065s
-- create_table("friendly_id_slugs", {:force=>:cascade, :id=>:integer})
-> 0.0175s
-- create_table("spree_addresses", {:force=>:cascade, :id=>:integer})
-> 0.0157s
-- create_table("spree_adjustment_reasons", {:force=>:cascade, :id=>:integer})
-> 0.0081s
-- create_table("spree_adjustments", {:force=>:cascade, :id=>:integer})
-> 0.0263s
-- create_table("spree_assets", {:force=>:cascade, :id=>:integer})
-> 0.0095s
-- create_table("spree_calculators", {:force=>:cascade, :id=>:integer})
-> 0.0091s
-- create_table("spree_cartons", {:force=>:cascade, :id=>:integer})
-> 0.0174s
-- create_table("spree_countries", {:force=>:cascade, :id=>:integer})
-> 0.0061s
-- create_table("spree_credit_cards", {:force=>:cascade, :id=>:integer})
-> 0.0100s
-- create_table("spree_customer_returns", {:force=>:cascade, :id=>:integer})
-> 0.0037s
-- create_table("spree_inventory_units", {:force=>:cascade, :id=>:integer})
-> 0.0203s
-- create_table("spree_line_item_actions", {:force=>:cascade, :id=>:integer})
-> 0.0099s
-- create_table("spree_line_items", {:force=>:cascade, :id=>:integer})
-> 0.0111s
-- create_table("spree_log_entries", {:force=>:cascade, :id=>:integer})
-> 0.0083s
-- create_table("spree_option_type_prototypes", {:force=>:cascade, :id=>:integer})
-> 0.0056s
-- create_table("spree_option_types", {:force=>:cascade, :id=>:integer})
-> 0.0066s
-- create_table("spree_option_values", {:force=>:cascade, :id=>:integer})
-> 0.0095s
-- create_table("spree_option_values_variants", {:force=>:cascade, :id=>:integer})
-> 0.0092s
-- create_table("spree_order_mutexes", {:force=>:cascade, :id=>:integer})
-> 0.0061s
-- create_table("spree_orders", {:force=>:cascade, :id=>:integer})
-> 0.0419s
-- create_table("spree_orders_promotions", {:force=>:cascade, :id=>:integer})
-> 0.0088s
-- create_table("spree_payment_capture_events", {:force=>:cascade, :id=>:integer})
-> 0.0075s
-- create_table("spree_payment_methods", {:force=>:cascade, :id=>:integer})
-> 0.0069s
-- create_table("spree_payments", {:force=>:cascade, :id=>:integer})
-> 0.0126s
-- create_table("spree_preferences", {:force=>:cascade, :id=>:integer})
-> 0.0071s
-- create_table("spree_prices", {:force=>:cascade, :id=>:integer})
-> 0.0090s
-- create_table("spree_product_option_types", {:force=>:cascade, :id=>:integer})
-> 0.0130s
-- create_table("spree_product_promotion_rules", {:force=>:cascade, :id=>:integer})
-> 0.0089s
-- create_table("spree_product_properties", {:force=>:cascade, :id=>:integer})
-> 0.0130s
-- create_table("spree_products", {:force=>:cascade, :id=>:integer})
-> 0.0154s
-- create_table("spree_products_taxons", {:force=>:cascade, :id=>:integer})
-> 0.0119s
-- create_table("spree_promotion_action_line_items", {:force=>:cascade, :id=>:integer})
-> 0.0099s
-- create_table("spree_promotion_actions", {:force=>:cascade, :id=>:integer})
-> 0.0133s
-- create_table("spree_promotion_categories", {:force=>:cascade, :id=>:integer})
-> 0.0037s
-- create_table("spree_promotion_codes", {:force=>:cascade, :id=>:integer})
-> 0.0100s
-- create_table("spree_promotion_rule_taxons", {:force=>:cascade, :id=>:integer})
-> 0.0120s
-- create_table("spree_promotion_rules", {:force=>:cascade, :id=>:integer})
-> 0.0086s
-- create_table("spree_promotion_rules_users", {:force=>:cascade, :id=>:integer})
-> 0.0097s
-- create_table("spree_promotions", {:force=>:cascade, :id=>:integer})
-> 0.0309s
-- create_table("spree_properties", {:force=>:cascade, :id=>:integer})
-> 0.0040s
-- create_table("spree_property_prototypes", {:force=>:cascade, :id=>:integer})
-> 0.0044s
-- create_table("spree_prototype_taxons", {:force=>:cascade, :id=>:integer})
-> 0.0093s
-- create_table("spree_prototypes", {:force=>:cascade, :id=>:integer})
-> 0.0043s
-- create_table("spree_refund_reasons", {:force=>:cascade, :id=>:integer})
-> 0.0040s
-- create_table("spree_refunds", {:force=>:cascade, :id=>:integer})
-> 0.0131s
-- create_table("spree_reimbursement_credits", {:force=>:cascade, :id=>:integer})
-> 0.0039s
-- create_table("spree_reimbursement_types", {:force=>:cascade, :id=>:integer})
-> 0.0080s
-- create_table("spree_reimbursements", {:force=>:cascade, :id=>:integer})
-> 0.0090s
-- create_table("spree_return_authorizations", {:force=>:cascade, :id=>:integer})
-> 0.0077s
-- create_table("spree_return_items", {:force=>:cascade, :id=>:integer})
-> 0.0103s
-- create_table("spree_return_reasons", {:force=>:cascade, :id=>:integer})
-> 0.0092s
-- create_table("spree_roles", {:force=>:cascade, :id=>:integer})
-> 0.0049s
-- create_table("spree_roles_users", {:force=>:cascade, :id=>:integer})
-> 0.0089s
-- create_table("spree_shipments", {:force=>:cascade, :id=>:integer})
-> 0.0167s
-- create_table("spree_shipping_categories", {:force=>:cascade, :id=>:integer})
-> 0.0043s
-- create_table("spree_shipping_method_categories", {:force=>:cascade, :id=>:integer})
-> 0.0091s
-- create_table("spree_shipping_method_stock_locations", {:force=>:cascade, :id=>:integer})
-> 0.0106s
-- create_table("spree_shipping_method_zones", {:force=>:cascade, :id=>:integer})
-> 0.0045s
-- create_table("spree_shipping_methods", {:force=>:cascade, :id=>:integer})
-> 0.0069s
-- create_table("spree_shipping_rate_taxes", {:force=>:cascade, :id=>:integer})
-> 0.0091s
-- create_table("spree_shipping_rates", {:force=>:cascade, :id=>:integer})
-> 0.0067s
-- create_table("spree_state_changes", {:force=>:cascade, :id=>:integer})
-> 0.0099s
-- create_table("spree_states", {:force=>:cascade, :id=>:integer})
-> 0.0059s
-- create_table("spree_stock_items", {:force=>:cascade, :id=>:integer})
-> 0.0167s
-- create_table("spree_stock_locations", {:force=>:cascade, :id=>:integer})
-> 0.0098s
-- create_table("spree_stock_movements", {:force=>:cascade, :id=>:integer})
-> 0.0063s
-- create_table("spree_store_credit_categories", {:force=>:cascade, :id=>:integer})
-> 0.0044s
-- create_table("spree_store_credit_events", {:force=>:cascade, :id=>:integer})
-> 0.0090s
-- create_table("spree_store_credit_types", {:force=>:cascade, :id=>:integer})
-> 0.0071s
-- create_table("spree_store_credit_update_reasons", {:force=>:cascade, :id=>:integer})
-> 0.0038s
-- create_table("spree_store_credits", {:force=>:cascade, :id=>:integer})
-> 0.0137s
-- create_table("spree_store_payment_methods", {:force=>:cascade, :id=>:integer})
-> 0.0089s
-- create_table("spree_stores", {:force=>:cascade, :id=>:integer})
-> 0.0093s
-- create_table("spree_tax_categories", {:force=>:cascade, :id=>:integer})
-> 0.0043s
-- create_table("spree_tax_rates", {:force=>:cascade, :id=>:integer})
-> 0.0126s
-- create_table("spree_taxonomies", {:force=>:cascade, :id=>:integer})
-> 0.0084s
-- create_table("spree_taxons", {:force=>:cascade, :id=>:integer})
-> 0.0227s
-- create_table("spree_unit_cancels", {:force=>:cascade, :id=>:integer})
-> 0.0084s
-- create_table("spree_user_addresses", {:force=>:cascade, :id=>:integer})
-> 0.0188s
-- create_table("spree_user_stock_locations", {:force=>:cascade, :id=>:integer})
-> 0.0088s
-- create_table("spree_variant_property_rule_conditions", {:force=>:cascade, :id=>:integer})
-> 0.0085s
-- create_table("spree_variant_property_rule_values", {:force=>:cascade, :id=>:integer})
-> 0.0137s
-- create_table("spree_variant_property_rules", {:force=>:cascade, :id=>:integer})
-> 0.0100s
-- create_table("spree_variants", {:force=>:cascade, :id=>:integer})
-> 0.0260s
-- create_table("spree_zone_members", {:force=>:cascade, :id=>:integer})
-> 0.0154s
-- create_table("spree_zones", {:force=>:cascade, :id=>:integer})
-> 0.0047s
== 20201208202838 SolidusOneFour: migrated (1.0373s) ==========================
== 20201208202839 CreateSpreeWalletPaymentSources: migrating ==================
-- table_exists?(:spree_wallet_payment_sources)
-> 0.0053s
-- create_table(:spree_wallet_payment_sources, {:id=>:integer})
-> 0.0118s
-- add_index(:spree_wallet_payment_sources, [:user_id, :payment_source_id, :payment_source_type], {:unique=>true, :name=>"index_spree_wallet_payment_sources_on_source_and_user"})
-> 0.0042s
== 20201208202839 CreateSpreeWalletPaymentSources: migrated (0.0343s) =========
== 20201208202840 MigrateCreditCardsToWalletPaymentSources: migrating =========
== 20201208202840 MigrateCreditCardsToWalletPaymentSources: migrated (0.0507s)
== 20201208202841 RemoveIsDefaultFromPrices: migrating ========================
-- remove_column(:spree_prices, :is_default, :boolean, {:default=>true})
-> 0.0446s
== 20201208202841 RemoveIsDefaultFromPrices: migrated (0.0464s) ===============
== 20201208202842 RemoveCurrencyFromLineItems: migrating ======================
-- remove_column(:spree_line_items, :currency, :string)
-> 0.0497s
== 20201208202842 RemoveCurrencyFromLineItems: migrated (0.0516s) =============
== 20201208202843 AddAvailableToColumnsAndRemoveDisplayOnFromPaymentMethods: migrating
-- add_column(:spree_payment_methods, :available_to_users, :boolean, {:default=>true})
-> 0.1583s
-- add_column(:spree_payment_methods, :available_to_admin, :boolean, {:default=>true})
-> 0.0127s
-- quoted_false()
-> 0.0000s
-- execute("UPDATE spree_payment_methods SET available_to_users=0 WHERE NOT (display_on='front_end' OR display_on='' OR display_on IS NULL)")
-> 0.0028s
-- quoted_false()
-> 0.0000s
-- execute("UPDATE spree_payment_methods SET available_to_admin=0 WHERE NOT (display_on='back_end' OR display_on='' OR display_on IS NULL)")
-> 0.0017s
-- remove_column(:spree_payment_methods, :display_on)
-> 0.0360s
== 20201208202843 AddAvailableToColumnsAndRemoveDisplayOnFromPaymentMethods: migrated (0.2320s)
== 20201208202844 CreateSpreePromotionCodeBatch: migrating ====================
-- create_table(:spree_promotion_code_batches, {:id=>:integer})
-> 0.0111s
-- add_foreign_key(:spree_promotion_code_batches, :spree_promotions, {:column=>:promotion_id})
-> 0.0345s
-- add_column(:spree_promotion_codes, :promotion_code_batch_id, :integer, {})
-> 0.0087s
-- add_foreign_key(:spree_promotion_codes, :spree_promotion_code_batches, {:column=>:promotion_code_batch_id})
-> 0.0463s
-- add_index(:spree_promotion_codes, :promotion_code_batch_id)
-> 0.0037s
== 20201208202844 CreateSpreePromotionCodeBatch: migrated (0.1111s) ===========
== 20201208202845 AddAvailableToUsersAndRemoveDisplayOnFromShippingMethods: migrating
-- add_column(:spree_shipping_methods, :available_to_users, :boolean, {:default=>true})
-> 0.0120s
-- quoted_false()
-> 0.0000s
-- execute("UPDATE spree_shipping_methods SET available_to_users=0 WHERE display_on='back_end'")
-> 0.0017s
-- remove_column(:spree_shipping_methods, :display_on)
-> 0.0358s
== 20201208202845 AddAvailableToUsersAndRemoveDisplayOnFromShippingMethods: migrated (0.0559s)
== 20201208202846 AddIndexToSpreePaymentsNumber: migrating ====================
-- add_index("spree_payments", ["number"], {:unique=>true})
-> 0.0109s
== 20201208202846 AddIndexToSpreePaymentsNumber: migrated (0.0131s) ===========
== 20201208202847 RemoveSpreeStoreCreditsColumn: migrating ====================
-- remove_column(:spree_store_credits, :spree_store_credits, :datetime)
-> 0.0550s
== 20201208202847 RemoveSpreeStoreCreditsColumn: migrated (0.0566s) ===========
== 20201208202848 AddLftAndRgtIndexesToTaxons: migrating ======================
-- add_index(:spree_taxons, :lft)
-> 0.0096s
-- add_index(:spree_taxons, :rgt)
-> 0.0066s
== 20201208202848 AddLftAndRgtIndexesToTaxons: migrated (0.0192s) =============
== 20201208202849 RemoveOrderIdFromInventoryUnits: migrating ==================
-- remove_column(:spree_inventory_units, :order_id)
-> 0.0786s
== 20201208202849 RemoveOrderIdFromInventoryUnits: migrated (0.1505s) =========
== 20201208202850 TransformTaxRateCategoryRelation: migrating =================
-- create_table(:spree_tax_rate_tax_categories, {:id=>:integer})
-> 0.0148s
-- add_foreign_key(:spree_tax_rate_tax_categories, :spree_tax_categories, {:column=>:tax_category_id})
-> 0.0454s
-- add_foreign_key(:spree_tax_rate_tax_categories, :spree_tax_rates, {:column=>:tax_rate_id})
-> 0.0387s
-- remove_column(:spree_tax_rates, :tax_category_id)
-> 0.0467s
== 20201208202850 TransformTaxRateCategoryRelation: migrated (0.1590s) ========
== 20201208202851 AddRolesUniqueConstraints: migrating ========================
-- add_index(:spree_roles, :name, {:unique=>true})
-> 0.0070s
-- add_index(:spree_roles_users, [:user_id, :role_id], {:unique=>true})
-> 0.0042s
== 20201208202851 AddRolesUniqueConstraints: migrated (0.0149s) ===============
== 20201208202852 AddTimeRangeToTaxRate: migrating ============================
-- add_column(:spree_tax_rates, :starts_at, :datetime, {})
-> 0.0143s
-- add_column(:spree_tax_rates, :expires_at, :datetime, {})
-> 0.0100s
== 20201208202852 AddTimeRangeToTaxRate: migrated (0.0281s) ===================
== 20201208202853 RenameBogusGateways: migrating ==============================
== 20201208202853 RenameBogusGateways: migrated (0.0000s) =====================
== 20201208202854 RemoveDefaultTaxFromSpreeZones: migrating ===================
-- remove_column(:spree_zones, :default_tax, :boolean, {:default=>false})
-> 0.0317s
== 20201208202854 RemoveDefaultTaxFromSpreeZones: migrated (0.0331s) ==========
== 20201208202855 CreatePromotionRuleStores: migrating ========================
-- create_table(:spree_promotion_rules_stores, {})
-> 0.0127s
== 20201208202855 CreatePromotionRuleStores: migrated (0.0141s) ===============
== 20201208202856 CreateStoreShippingMethods: migrating =======================
-- create_table(:spree_store_shipping_methods, {})
-> 0.0124s
== 20201208202856 CreateStoreShippingMethods: migrated (0.0140s) ==============
== 20201208202857 AddAvailableLocalesToStores: migrating ======================
-- change_table(:spree_stores, {})
-> 0.0244s
== 20201208202857 AddAvailableLocalesToStores: migrated (0.0262s) =============
== 20201208202858 AddAmountRemainingToStoreCreditEvents: migrating ============
-- add_column(:spree_store_credit_events, :amount_remaining, :decimal, {:precision=>8, :scale=>2, :default=>nil, :null=>true})
-> 0.0147s
== 20201208202858 AddAmountRemainingToStoreCreditEvents: migrated (0.0593s) ===
== 20201208202859 AddJoinCharactersToPromotionCodeBatch: migrating ============
-- add_column(:spree_promotion_code_batches, :join_characters, :string, {:null=>false, :default=>"_"})
-> 0.0122s
== 20201208202859 AddJoinCharactersToPromotionCodeBatch: migrated (0.0136s) ===
== 20201208202860 AddApplyToAllToVariantPropertyRule: migrating ===============
-- add_column(:spree_variant_property_rules, :apply_to_all, :boolean, {:default=>false, :null=>false})
-> 0.0177s
-- change_column(:spree_variant_property_rules, :apply_to_all, :boolean, {:default=>true})
-> 0.0433s
== 20201208202860 AddApplyToAllToVariantPropertyRule: migrated (0.0654s) ======
== 20201208202861 CreateSpreeStoreCreditReasonsTable: migrating ===============
-- create_table(:spree_store_credit_reasons, {})
-> 0.0090s
-- add_column(:spree_store_credit_events, :store_credit_reason_id, :integer)
-> 0.0117s
-- execute("update spree_store_credit_events set store_credit_reason_id = update_reason_id")
-> 0.0020s
== 20201208202861 CreateSpreeStoreCreditReasonsTable: migrated (0.0327s) ======
== 20201208202862 RemoveCodeFromSpreePromotions: migrating ====================
-- remove_index(:spree_promotions, {:name=>:index_spree_promotions_on_code})
-> 0.0040s
-- remove_column(:spree_promotions, :code)
-> 0.0813s
== 20201208202862 RemoveCodeFromSpreePromotions: migrated (0.0940s) ===========
== 20201208202863 DropSpreeStoreCreditUpdateReasons: migrating ================
-- table_exists?(:spree_store_credit_update_reasons)
-> 0.0057s
-- drop_table(:spree_store_credit_update_reasons)
-> 0.0094s
-- column_exists?(:spree_store_credit_events, :update_reason_id)
-> 0.0022s
-- remove_column(:spree_store_credit_events, :update_reason_id)
-> 0.0524s
== 20201208202863 DropSpreeStoreCreditUpdateReasons: migrated (0.0819s) =======
== 20201208202864 AddDefaultBillngFlagToUserAddresses: migrating ==============
-- add_column(:spree_user_addresses, :default_billing, :boolean, {:default=>false})
-> 0.0139s
== 20201208202864 AddDefaultBillngFlagToUserAddresses: migrated (0.0159s) =====
== 20201208202865 AddBccEmailToSpreeStores: migrating =========================
-- add_column(:spree_stores, :bcc_email, :string)
-> 0.0158s
== 20201208202865 AddBccEmailToSpreeStores: migrated (0.0176s) ================
== 20201208202866 AddDiscontinueOnToSpreeProducts: migrating ==================
-- add_column(:spree_products, :discontinue_on, :datetime)
-> 0.0121s
== 20201208202866 AddDiscontinueOnToSpreeProducts: migrated (0.0132s) =========
== 20201208202867 AddApiKeyToSpreeUsers: migrating ============================
-- add_column(:spree_users, :api_key, :string, {:limit=>40})
-> 0.0132s
== 20201208202867 AddApiKeyToSpreeUsers: migrated (0.0152s) ===================
== 20201208202868 ResizeApiKeyField: migrating ================================
-- change_column(:spree_users, :api_key, :string, {:limit=>48})
-> 0.0510s
== 20201208202868 ResizeApiKeyField: migrated (0.0535s) =======================
== 20201208202869 RenameApiKeyToSpreeApiKey: migrating ========================
-- rename_column(:spree_users, :api_key, :spree_api_key)
-> 0.0441s
== 20201208202869 RenameApiKeyToSpreeApiKey: migrated (0.0458s) ===============
== 20201208202870 AddIndexToUserSpreeApiKey: migrating ========================
-- add_index(:spree_users, :spree_api_key)
-> 0.0079s
== 20201208202870 AddIndexToUserSpreeApiKey: migrated (0.0097s) ===============
== 20201208202924 CreateUsers: migrating ======================================
-- table_exists?("spree_users")
-> 0.0035s
== 20201208202924 CreateUsers: migrated (0.0054s) =============================
== 20201208202925 RenameColumnsForDevise: migrating ===========================
-- column_exists?(:spree_users, :password_salt)
-> 0.0059s
-- rename_column(:spree_users, :crypted_password, :encrypted_password)
-> 0.1130s
-- rename_column(:spree_users, :salt, :password_salt)
-> 0.0528s
-- rename_column(:spree_users, :remember_token_expires_at, :remember_created_at)
-> 0.0492s
-- rename_column(:spree_users, :login_count, :sign_in_count)
-> 0.0405s
-- rename_column(:spree_users, :failed_login_count, :failed_attempts)
-> 0.0468s
-- rename_column(:spree_users, :single_access_token, :reset_password_token)
-> 0.0446s
-- rename_column(:spree_users, :current_login_at, :current_sign_in_at)
-> 0.0399s
-- rename_column(:spree_users, :last_login_at, :last_sign_in_at)
-> 0.0392s
-- rename_column(:spree_users, :current_login_ip, :current_sign_in_ip)
-> 0.0405s
-- rename_column(:spree_users, :last_login_ip, :last_sign_in_ip)
-> 0.0395s
-- add_column(:spree_users, :authentication_token, :string, {})
-> 0.0097s
-- add_column(:spree_users, :unlock_token, :string, {})
-> 0.0105s
-- add_column(:spree_users, :locked_at, :datetime, {})
-> 0.0097s
-- remove_column(:spree_users, :openid_identifier)
-> 0.0404s
== 20201208202925 RenameColumnsForDevise: migrated (0.6108s) ==================
== 20201208202926 ConvertUserRememberField: migrating =========================
-- remove_column(:spree_users, :remember_created_at)
-> 0.0431s
-- add_column(:spree_users, :remember_created_at, :datetime, {})
-> 0.0088s
== 20201208202926 ConvertUserRememberField: migrated (0.0550s) ================
== 20201208202927 AddResetPasswordSentAtToSpreeUsers: migrating ===============
-- add_column(:spree_users, :reset_password_sent_at, :datetime, {})
-> 0.0117s
== 20201208202927 AddResetPasswordSentAtToSpreeUsers: migrated (0.0175s) ======
== 20201208202928 MakeUsersEmailIndexUnique: migrating ========================
-- add_index("spree_users", ["email"], {:name=>"email_idx_unique", :unique=>true})
-> 0.0065s
== 20201208202928 MakeUsersEmailIndexUnique: migrated (0.0083s) ===============
== 20201208202929 AddDeletedAtToUsers: migrating ==============================
-- add_column(:spree_users, :deleted_at, :datetime, {})
-> 0.0143s
-- add_index(:spree_users, :deleted_at)
-> 0.0045s
== 20201208202929 AddDeletedAtToUsers: migrated (0.0221s) =====================
== 20201208202930 AddConfirmableToUsers: migrating ============================
-- add_column(:spree_users, :confirmation_token, :string, {})
-> 0.0135s
-- add_column(:spree_users, :confirmed_at, :datetime, {})
-> 0.0089s
-- add_column(:spree_users, :confirmation_sent_at, :datetime, {})
-> 0.0094s
== 20201208202930 AddConfirmableToUsers: migrated (0.0355s) ===================
== 20201208202931 AddResetPasswordTokenIndexToSpreeUsers: migrating ===========
-- index_exists?(:spree_users, :reset_password_token, {:name=>"index_spree_users_on_reset_password_token"})
-> 0.0021s
-- index_exists?(:spree_users, :reset_password_token, {:name=>"index_spree_users_on_reset_password_token_solidus_auth_devise"})
-> 0.0023s
-- add_index(:spree_users, :reset_password_token, {:unique=>true, :name=>"index_spree_users_on_reset_password_token_solidus_auth_devise"})
-> 0.0077s
== 20201208202931 AddResetPasswordTokenIndexToSpreeUsers: migrated (0.0253s) ==
== 20201208202932 AddUnconfirmedEmailToSpreeUsers: migrating ==================
-- column_exists?(:spree_users, :unconfirmed_email)
-> 0.0036s
-- add_column(:spree_users, :unconfirmed_email, :string)
-> 0.0107s
== 20201208202932 AddUnconfirmedEmailToSpreeUsers: migrated (0.0166s) =========
generate solidus_paypal_commerce_platform:install --skip_migrations=false
rails generate solidus_paypal_commerce_platform:install --skip_migrations=false
create config/initializers/solidus_paypal_commerce_platform.rb
append vendor/assets/javascripts/spree/frontend/all.js
append vendor/assets/javascripts/spree/backend/all.js
insert vendor/assets/stylesheets/spree/frontend/all.css
insert vendor/assets/stylesheets/spree/backend/all.css
run bin/rails railties:install:migrations FROM=solidus_paypal_commerce_platform from "."
insert config/routes.rb
Would you like to run the migrations now? [Y/n] y run bin/rails db:migrate from "."
running migrations
rake db:migrate VERBOSE=false
loading seed data
rake db:seed
loading sample data
rake spree_sample:load
insert config/routes.rb
**************************************************
We added the following line to your application's config/routes.rb file:
mount Spree::Core::Engine, at: '/'
**************************************************
Solidus has been installed successfully. You're all ready to go!
Enjoy!
At this point, I can start the rails server but would find an empty shop with no sample data. Also running -spree_sample:load- now produces the error/trace that starts this thread. Notice how there is no prompt to create the admin account which is supposed to be a part of the "solidus:install" by default. Having confirmed that it doesn't seed the db or load sample data after more than 10 different attempts, I proceed like I would if I had chosen to disable them. See the outputs below:
C:\Users\Iffiok\Documents\Projects\komai africa\komai_store>rails railties:install:migrations
Copied migration 20201208203329_add_paypal_commerce_platform_sources.solidus_paypal_commerce_platform.rb from solidus_paypal_commerce_platform
C:\Users\Iffiok\Documents\Projects\komai africa\komai_store>rails db:migrate
== 20201208203329 AddPaypalCommercePlatformSources: migrating =================
-- create_table(:paypal_commerce_platform_sources, {})
-> 0.0076s
== 20201208203329 AddPaypalCommercePlatformSources: migrated (0.0102s) ========
C:\Users\Iffiok\Documents\Projects\komai africa\komai_store>rails db:seed
Loading seed file: stores
Loading seed file: store_credit
Loading seed file: countries
Loading seed file: return_reasons
Loading seed file: states
Loading seed file: stock_locations
Loading seed file: zones
Loading seed file: refund_reasons
Loading seed file: roles
Loading seed file: shipping_categories
Create the admin user (press enter for defaults).
Email [admin@example.com]: admin@komai.com
Password [test123]: password
Done!
C:\Users\Iffiok\Documents\Projects\komai africa\komai_store>rails spree_sample:load
Loaded Payment Methods samples
Loaded Tax Categories samples
Loaded Tax Rates samples
Loaded Shipping Categories samples
Loaded Shipping Methods samples
Loaded Products samples
Loaded Taxonomies samples
Loaded Taxons samples
Loaded Option Types samples
Loaded Option Values samples
Loaded Product Option Types samples
Loaded Product Properties samples
Loaded Variants samples
Loaded Stock samples
rails aborted!
ActiveRecord::RecordInvalid: Validation failed: Filename has contents that are not what they are reported to be
bin/rails:4:in `<main>'
Tasks: TOP => spree_sample:load
(See full trace by running task with --trace)
Observations: A somewhat partial execution. If I start the server here, It's a bit preloaded but somewhat incomplete. E.g. there are no images. Clearly, loading the sample data did start but didn't execute to completion.
C:\Users\Iffiok\Documents\Projects\komai africa\komai_store>rails spree_sample:load --trace
** Invoke spree_sample:load (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute spree_sample:load
Loaded Payment Methods samples
Loaded Tax Categories samples
Loaded Tax Rates samples
Loaded Shipping Categories samples
Loaded Shipping Methods samples
Loaded Products samples
Loaded Taxonomies samples
Loaded Taxons samples
rails aborted!
ActiveRecord::RecordInvalid: Validation failed: Name has already been taken
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/validations.rb:80:in `raise_validation_error'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/validations.rb:53:in `save!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/transactions.rb:318:in `block in save!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/transactions.rb:375:in `block in with_transaction_returning_status'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `block in transaction'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/transaction.rb:280:in `block in within_new_transaction'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/concurrency/load_interlock_aware_monitor.rb:26:in `block (2 levels) in synchronize'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `handle_interrupt'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/concurrency/load_interlock_aware_monitor.rb:25:in `block in synchronize'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `handle_interrupt'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/concurrency/load_interlock_aware_monitor.rb:21:in `synchronize'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/transaction.rb:278:in `within_new_transaction'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/connection_adapters/abstract/database_statements.rb:280:in `transaction'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/transactions.rb:212:in `transaction'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/transactions.rb:366:in `with_transaction_returning_status'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/transactions.rb:318:in `save!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/suppressor.rb:48:in `save!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/persistence.rb:55:in `create!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/persistence.rb:52:in `block in create!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/persistence.rb:52:in `collect'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activerecord-6.0.3.4/lib/active_record/persistence.rb:52:in `create!'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/solidus_sample-2.11.3/db/samples/option_types.rb:3:in `<main>'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/solidus_sample-2.11.3/lib/spree/sample.rb:17:in `load_sample'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/solidus_sample-2.11.3/db/samples/option_values.rb:3:in `<main>'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/polyglot-0.3.5/lib/polyglot.rb:65:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/zeitwerk-2.4.2/lib/zeitwerk/kernel.rb:34:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/solidus_sample-2.11.3/lib/spree/sample.rb:17:in `load_sample'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/solidus_sample-2.11.3/lib/spree_sample.rb:20:in `load_samples'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/solidus_sample-2.11.3/lib/tasks/sample.rake:21:in `block (2 levels) in <main>'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/task.rb:281:in `block in execute'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/task.rb:281:in `each'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/task.rb:281:in `execute'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/task.rb:219:in `block in invoke_with_call_chain'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/task.rb:199:in `synchronize'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/task.rb:199:in `invoke_with_call_chain'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/task.rb:188:in `invoke'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:160:in `invoke_task'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:116:in `block (2 levels) in top_level'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:116:in `each'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:116:in `block in top_level'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:125:in `run_with_threads'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:110:in `top_level'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-6.0.3.4/lib/rails/commands/rake/rake_command.rb:23:in `block in perform'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/rake-13.0.1/lib/rake/application.rb:186:in `standard_exception_handling'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-6.0.3.4/lib/rails/commands/rake/rake_command.rb:20:in `perform'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-6.0.3.4/lib/rails/command.rb:48:in `invoke'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/railties-6.0.3.4/lib/rails/commands.rb:18:in `<main>'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:23:in `block in require_with_bootsnap_lfi'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/loaded_features_index.rb:92:in `register'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:22:in `require_with_bootsnap_lfi'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/bootsnap-1.5.1/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:31:in `require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `block in require'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:291:in `load_dependency'
C:/Ruby27-x64/lib/ruby/gems/2.7.0/gems/activesupport-6.0.3.4/lib/active_support/dependencies.rb:324:in `require'
bin/rails:4:in `<main>'
Tasks: TOP => spree_sample:load
I am hoping that there is something obvious which I am getting wrong here. That would be such a relief and I am assuming lots of other pple try this on windows 10 daily.
Just to add - the gemfile again
source 'https://rubygems.org'
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
ruby '2.7.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.3', '>= 6.0.3.4'
# Use sqlite3 as the database for Active Record
gem 'sqlite3', '~> 1.4'
# Use Puma as the app server
gem 'puma', '~> 4.1'
# Use SCSS for stylesheets
gem 'sass-rails', '>= 6'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.7'
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 4.0'
# Use Active Model has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Active Storage variant
# gem 'image_processing', '~> 1.2'
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.2', require: false
group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
end
group :development do
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
gem 'web-console', '>= 3.3.0'
end
group :test do
# Adds support for Capybara system testing and selenium driver
gem 'capybara', '>= 2.15'
gem 'selenium-webdriver'
# Easy installation and use of web drivers to run system tests with browsers
gem 'webdrivers'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
gem 'solidus'
gem 'solidus_auth_devise'
gem 'solidus_paypal_commerce_platform'
you need to make a rails db:seed
before
bundle exec rake spree_sample:load
It's like the Filename has contents that are not what they are reported
error is caused by not having imagemagick installed or configured correctly.
I'm closing this issue because we don't use GitHub issues on this project for troubleshooting. Please use the Troubleshooting discussion category or seek help from our Slack community. Thanks.
If it turns out that this is in fact a bug in the guides or in Solidus, troubleshooting it further will identify where the specific problem is and an issue can be opened for that.
@pusewicz @kamui @rymai
This might be a trivial issue and I hope that it is as I am new to ROR and spree/solidus.
I am just getting started and have been using the the setup tutorial here and have had almost everything go on fine. However I did notice that running "rails generate solidus : install" after adding solidus to the gemfile didn't prompt for admin credentials as expected. Also, I started the rails server and noticed that the sample data wasn't loaded either so I decided to do both manually. Creating the admin worked but the command for loading the sample data failed even after numerous tries.
Output: rake spree_sample:load --trace
I assume that this might mean that 'spree :: zone' is deprecated but if that's the case I am confused as to why it's required still. I need as much help as I can get.
To encounter this error I just followed the tutorial I linked above
Environment: Window 10, ruby 2.7.2p137, Rails 6.0.3.4, SQLite version 3.34.0, Chrome
Gemfile:
It just help to be at least sure it's all running as expected before one really dives in. If this is down to the fact that I am using windows then I would at least like to be sure although that would prove a rather strange one.
Update - output form the generate solidus:install command