summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2023-08-30 15:21:20 -0700
committergit <svn-admin@ruby-lang.org>2023-12-12 02:10:53 +0000
commite223dde3295cc59415c289305fd8d706d46cd2e9 (patch)
treeeefbf4169d01c4e89674bf07227e816545daf5c8 /lib/bundler/cli.rb
parent305f66b859c0fd123c95db74700d8b2c13fe2fe2 (diff)
[rubygems/rubygems] Allow bundle pristine to run in parallel
Also fix running when BUNDLE_NO_INSTALL happens to be set, same as with install/update commands https://github.com/rubygems/rubygems/commit/a555fd6ccd
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 022d2c9142..da5950917b 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -660,7 +660,9 @@ module Bundler
D
def pristine(*gems)
require_relative "cli/pristine"
- Pristine.new(gems).run
+ Bundler.settings.temporary(no_install: false) do
+ Pristine.new(gems).run
+ end
end
if Bundler.feature_flag.plugins?