summaryrefslogtreecommitdiff
path: root/lib/bundler/setup.rb
diff options
context:
space:
mode:
authorBundlerbot <bot@bundler.io>2019-12-17 22:32:52 +0000
committerBundlerbot <bot@bundler.io>2019-12-17 22:32:52 +0000
commit8bd21aa0f5dc92fce4df277715f4eab546d30a7f (patch)
treeb2ab1e41a1f24405d4fbf30e25e2daf06eaf7c8a /lib/bundler/setup.rb
parent683fe9799e37bff81e53f1a7e97d3a19896b8fc9 (diff)
parent0a5db7e274cac1198d7e22d4e302dd9002342eae (diff)
downloadbundler-8bd21aa0f5dc92fce4df277715f4eab546d30a7f.tar.gz
Merge #7502v2.1.1
7502: Release 2.1.1 r=deivid-rodriguez a=deivid-rodriguez ### What was the end-user problem that led to this PR? The problem was I want to get regression fixed as soon as possible to reduce impact. ### What is your fix for the problem, implemented in this PR? My fix is to release what we have already fixed as soon as possible. Co-authored-by: Bundlerbot <bot@bundler.io> Co-authored-by: David Rodríguez <deivid.rodriguez@riseup.net>
Diffstat (limited to 'lib/bundler/setup.rb')
-rw-r--r--lib/bundler/setup.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bundler/setup.rb b/lib/bundler/setup.rb
index 70a0968f4b..27911dc1ad 100644
--- a/lib/bundler/setup.rb
+++ b/lib/bundler/setup.rb
@@ -19,4 +19,9 @@ if Bundler::SharedHelpers.in_bundle?
else
Bundler.ui.silence { Bundler.setup }
end
+
+ # We might be in the middle of shelling out to rubygems
+ # (RUBYOPT=-rbundler/setup), so we need to give rubygems the opportunity of
+ # not being silent.
+ Gem::DefaultUserInteraction.ui = nil
end