bundler/lib/bundler/setup.rb in rubygems-update-3.5.10 vs bundler/lib/bundler/setup.rb in rubygems-update-3.5.12
- old
+ new
@@ -3,9 +3,12 @@
require_relative "shared_helpers"
if Bundler::SharedHelpers.in_bundle?
require_relative "../bundler"
+ # autoswitch to locked Bundler version if available
+ Bundler.auto_switch
+
# try to auto_install first before we get to the `Bundler.ui.silence`, so user knows what is happening
Bundler.auto_install
if STDOUT.tty? || ENV["BUNDLER_FORCE_TTY"]
begin