From: Antonio Terceiro <terceiro@debian.org>
Date: Thu, 3 Mar 2016 16:30:17 -0300
Subject: Be careful with that bundler

Last-Update: 2025-01-08

---
 railties/lib/rails/generators/app_base.rb | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

--- a/railties/lib/rails/generators/app_base.rb
+++ b/railties/lib/rails/generators/app_base.rb
@@ -691,7 +691,7 @@
       end
 
       def run_bundle
-        bundle_command("install --quiet", "BUNDLE_IGNORE_MESSAGES" => "1") if bundle_install?
+        bundle_command("install --local --quiet", "BUNDLE_IGNORE_MESSAGES" => "1") if bundle_install?
       end
 
       def run_javascript
