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.

Setup one global bundle directory for all gems (#12475)

Damian Legawiec08056c171583
diff --git a/.bundle/config b/.bundle/config
new file mode 100644
index 0000000000..0fbe1de364
--- /dev/null
+++ b/.bundle/config
@@ -0,0 +1,4 @@
+---
+BUNDLE_JOBS: "12"
+BUNDLE_PATH: "vendor/bundle"
+
diff --git a/.gitignore b/.gitignore
index bea705cda9..11cd6dfe1d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,7 +5,6 @@
*~
.#*
.DS_Store
-.bundle
.dotest
.idea
.loadpath
diff --git a/admin/.bundle/config b/admin/.bundle/config
new file mode 100644
index 0000000000..efe0a61fd3
--- /dev/null
+++ b/admin/.bundle/config
@@ -0,0 +1,3 @@
+---
+BUNDLE_JOBS: "12"
+BUNDLE_PATH: "../vendor/bundle"
\ No newline at end of file
diff --git a/bin/sandbox.sh b/bin/sandbox.sh
index a7733de30c..b9bd662f46 100755
--- a/bin/sandbox.sh
+++ b/bin/sandbox.sh
@@ -62,7 +62,7 @@ end
RUBY
bundle update
-bundle install --gemfile Gemfile
+bundle install --gemfile Gemfile --path ../vendor/bundle
bin/rails importmap:install
bin/rails turbo:install
diff --git a/cli/.bundle/config b/cli/.bundle/config
new file mode 100644
index 0000000000..decb1dbdfd
--- /dev/null
+++ b/cli/.bundle/config
@@ -0,0 +1,3 @@
+---
+BUNDLE_JOBS: "12"
+BUNDLE_PATH: "../vendor/bundle"
diff --git a/core/.bundle/config b/core/.bundle/config
new file mode 100644
index 0000000000..decb1dbdfd
--- /dev/null
+++ b/core/.bundle/config
@@ -0,0 +1,3 @@
+---
+BUNDLE_JOBS: "12"
+BUNDLE_PATH: "../vendor/bundle"
diff --git a/emails/.bundle/config b/emails/.bundle/config
new file mode 100644
index 0000000000..decb1dbdfd
--- /dev/null
+++ b/emails/.bundle/config
@@ -0,0 +1,3 @@
+---
+BUNDLE_JOBS: "12"
+BUNDLE_PATH: "../vendor/bundle"
diff --git a/sample/.bundle/config b/sample/.bundle/config
new file mode 100644
index 0000000000..decb1dbdfd
--- /dev/null
+++ b/sample/.bundle/config
@@ -0,0 +1,3 @@
+---
+BUNDLE_JOBS: "12"
+BUNDLE_PATH: "../vendor/bundle"
diff --git a/storefront/.bundle/config b/storefront/.bundle/config
new file mode 100644
index 0000000000..decb1dbdfd
--- /dev/null
+++ b/storefront/.bundle/config
@@ -0,0 +1,3 @@
+---
+BUNDLE_JOBS: "12"
+BUNDLE_PATH: "../vendor/bundle"