Skip to content

armgit / spree

Public Imported from GitHub
0

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.

Fix template default spree version (#15017)

Biruk Haileye Tabord4fd2e942763
diff --git a/spree/template.rb b/spree/template.rb
index 00f0dc5de8..cab7b84cc2 100644
--- a/spree/template.rb
+++ b/spree/template.rb
@@ -18,7 +18,7 @@ SPREE_LOCAL_PATH = ENV['SPREE_LOCAL_PATH'] || '.'
# scaffolded from this template.
ADMIN_EMAIL = ENV['ADMIN_EMAIL']
ADMIN_PASSWORD = ENV['ADMIN_PASSWORD']
-SPREE_VERSION = ENV['SPREE_VERSION'] || '>= 5.4.2'
+SPREE_VERSION = ENV['SPREE_VERSION'] || '~> 6.0'
def add_gems
say 'Adding required gems to Gemfile...', :blue