utils/gems: redirect bundler output to stderr

This commit is contained in:
Bo Anderson 2023-09-27 20:05:03 +01:00
parent 4ec5f04e9a
commit 22cb5dbf02
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65

View File

@ -300,7 +300,7 @@ module Homebrew
end
bundle_installed = if bundle_install_required
if system bundle, "install"
if system bundle, "install", out: :err
true
else
message = <<~EOS
@ -313,7 +313,7 @@ module Homebrew
end
false
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
else
message = <<~EOS