Merge pull request #16047 from Bo98/bundle-stderr

utils/gems: redirect bundler output to stderr
This commit is contained in:
Bo Anderson 2023-09-27 20:22:01 +01:00 committed by GitHub
commit 7d3edd5c0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -300,7 +300,7 @@ module Homebrew
end end
bundle_installed = if bundle_install_required bundle_installed = if bundle_install_required
if system bundle, "install" if system bundle, "install", out: :err
true true
else else
message = <<~EOS message = <<~EOS
@ -313,7 +313,7 @@ module Homebrew
end end
false false
end end
elsif system bundle, "clean" # even if we have nothing to install, we may have removed gems elsif system bundle, "clean", out: :err # even if we have nothing to install, we may have removed gems
true true
else else
message = <<~EOS message = <<~EOS