[rubygems/rubygems] Don't print a bunch of blank lines when setting up dependencies

https://github.com/rubygems/rubygems/commit/48fd2d0514
This commit is contained in:
David Rodríguez 2024-12-11 20:30:10 +01:00 committed by Hiroshi SHIBATA
parent 8cc47c9050
commit 706cabb135

View File

@ -150,8 +150,8 @@ module Spec
ENV["BUNDLE_PATH__SYSTEM"] = "true"
end
puts `#{Gem.ruby} #{File.expand_path("support/bundle.rb", Path.spec_dir)} install --quiet`
raise unless $?.success?
output = `#{Gem.ruby} #{File.expand_path("support/bundle.rb", Path.spec_dir)} install --quiet`
raise output unless $?.success?
ensure
if path
ENV["BUNDLE_PATH"] = old_path