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
Fix Bundler 4.0 compatibility for CI build script
Damian Legawiecf75e5b8777a8
diff --git a/bin/build-ci.rb b/bin/build-ci.rbindex 7942db6318..996eeceac4 100755--- a/bin/build-ci.rb+++ b/bin/build-ci.rb@@ -73,11 +73,19 @@ class Projectprivate+ # Configure bundler path+ #+ # @return [Boolean]+ def bundle_config+ system("bundle config set --local path #{VENDOR_BUNDLE}")+ end+# Check if current bundle is already usable## @return [Boolean]def bundle_check- system("bundle check --path=#{VENDOR_BUNDLE}")+ bundle_config+ system("bundle check")end# Install the current bundle@@ -85,7 +93,8 @@ class Project# @return [Boolean]# the success of the installationdef bundle_install- system("bundle install --path=#{VENDOR_BUNDLE} --jobs=#{BUNDLER_JOBS} --retry=#{BUNDLER_RETRIES}")+ bundle_config+ system("bundle install --jobs=#{BUNDLER_JOBS} --retry=#{BUNDLER_RETRIES}")end# Setup the test app