From 706cabb135de0983711286588394623184331288 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 11 Dec 2024 20:30:10 +0100 Subject: [PATCH] [rubygems/rubygems] Don't print a bunch of blank lines when setting up dependencies https://github.com/rubygems/rubygems/commit/48fd2d0514 --- spec/bundler/support/rubygems_ext.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/bundler/support/rubygems_ext.rb b/spec/bundler/support/rubygems_ext.rb index 7641f5b156ee20..92ffa2f7f387dc 100644 --- a/spec/bundler/support/rubygems_ext.rb +++ b/spec/bundler/support/rubygems_ext.rb @@ -150,8 +150,8 @@ def install_gems(gemfile, path = nil) 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