Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fixed CI builds
Damian Legawiec6d9a77c2d7e8
diff --git a/.circleci/config.yml b/.circleci/config.ymlindex a5ab482587..42d20420b0 100644--- a/.circleci/config.yml+++ b/.circleci/config.yml@@ -24,7 +24,10 @@ commands:- install_libvips- run:name: Install global dependencies- command: bundle check || bundle install+ command: bundle update+ - run:+ name: Clean old gems+ command: bundle clean- run:name: Install per-project gem dependenciescommand: bin/build-ci.rb installdiff --git a/core/lib/spree/testing_support/common_rake.rb b/core/lib/spree/testing_support/common_rake.rbindex 8271e5e1f9..788d65b672 100644--- a/core/lib/spree/testing_support/common_rake.rb+++ b/core/lib/spree/testing_support/common_rake.rb@@ -30,13 +30,13 @@ namespace :common doSpree::DummyGenerator.start dummy_app_argsunless skip_javascript- system('bin/rails importmap:install turbo:install stimulus:install')+ system('bundle exec rails importmap:install turbo:install stimulus:install')end# install devise if it's not the legacy user, useful for testing storefrontif args[:authentication] == 'devise' && args[:user_class] != 'Spree::LegacyUser'- system('bin/rails g devise:install --force --auto-accept')- system("bin/rails g devise #{args[:user_class]} --force --auto-accept")+ system('bundle exec rails g devise:install --force --auto-accept')+ system("bundle exec rails g devise #{args[:user_class]} --force --auto-accept")system('rm -rf spec') # we need to cleanup factories created by devise to avoid naming conflictend@@ -59,7 +59,7 @@ namespace :common dounless ENV['NO_MIGRATE']puts 'Setting up dummy database...'- system('bin/rails db:environment:set RAILS_ENV=test > /dev/null 2>&1')+ system('bundle exec rails db:environment:set RAILS_ENV=test > /dev/null 2>&1')system('bundle exec rake db:drop db:create > /dev/null 2>&1')Spree::DummyModelGenerator.startsystem('bundle exec rake db:migrate > /dev/null 2>&1')@@ -81,7 +81,7 @@ namespace :common dotask :db_setup do |_t|puts 'Setting up dummy database...'- system('bin/rails db:environment:set RAILS_ENV=test > /dev/null 2>&1')+ system('bundle exec rails db:environment:set RAILS_ENV=test > /dev/null 2>&1')system('bundle exec rake db:drop db:create > /dev/null 2>&1')Spree::DummyModelGenerator.startsystem('bundle exec rake db:migrate > /dev/null 2>&1')