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.

Enable Rails 8.1 for new installations via CLI isntaller

Damian Legawiec2acab3a4d4b9
diff --git a/bin/sandbox.sh b/bin/sandbox.sh
index df5a366f99..f5a25e9773 100755
--- a/bin/sandbox.sh
+++ b/bin/sandbox.sh
@@ -8,5 +8,5 @@ cd "$(dirname "$0")/.."
echo "Creating Spree sandbox application..."
-RAILS_VERSION="${RAILS_VERSION:-8.1.1}" ./install.sh --app-name=sandbox --verbose --auto-accept --local --force
+./install.sh --app-name=sandbox --verbose --auto-accept --local --force
rm -rf sandbox/.git
diff --git a/install.sh b/install.sh
index 69385e9820..c42223cf19 100755
--- a/install.sh
+++ b/install.sh
@@ -21,7 +21,7 @@ BOLD='\033[1m'
NC='\033[0m' # No Color
# Configuration
-RAILS_VERSION="${RAILS_VERSION:-8.0.4}"
+RAILS_VERSION="${RAILS_VERSION:-8.1.2}"
APP_NAME=""
LOAD_SAMPLE_DATA="false"
TEMPLATE_URL="https://raw.githubusercontent.com/spree/spree/main/template.rb"