summaryrefslogtreecommitdiff
path: root/lib/bundler/cli.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-12-21 14:50:44 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-12-21 15:27:05 +0900
commit69dc2ea46538f47ff5edda3bb16863034bd19069 (patch)
treea4c545640fbdf31ab90f02a7def173840944806b /lib/bundler/cli.rb
parentad450c9fe51c51626dd07f6e766f47d839cae3ba (diff)
Merge RubyGems-3.3.0 and Bundler-2.3.0
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/5317
Diffstat (limited to 'lib/bundler/cli.rb')
-rw-r--r--lib/bundler/cli.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb
index 36d0472c62..f6e20e7c67 100644
--- a/lib/bundler/cli.rb
+++ b/lib/bundler/cli.rb
@@ -61,6 +61,8 @@ module Bundler
Bundler.reset_settings_and_root!
end
+ Bundler.self_manager.restart_with_locked_bundler_if_needed
+
Bundler.settings.set_command_option_if_given :retry, options[:retry]
current_cmd = args.last[:current_command].name