Merge pull request #19731 from Homebrew/vendor-gems-bundler-fix

dev-cmd/vendor-gems: fix incorrect Bundler version being used
This commit is contained in:
Patrick Linnane 2025-04-09 19:04:32 +00:00 committed by GitHub
commit f365f70381
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,6 +28,7 @@ module Homebrew
Homebrew.install_bundler! Homebrew.install_bundler!
ENV["BUNDLE_WITH"] = Homebrew.valid_gem_groups.join(":") ENV["BUNDLE_WITH"] = Homebrew.valid_gem_groups.join(":")
ENV["BUNDLER_VERSION"] = HOMEBREW_BUNDLER_VERSION
ohai "cd #{HOMEBREW_LIBRARY_PATH}" ohai "cd #{HOMEBREW_LIBRARY_PATH}"
HOMEBREW_LIBRARY_PATH.cd do HOMEBREW_LIBRARY_PATH.cd do