Skip to content

Commit

Permalink
[rubygems/rubygems] Don't print a bunch of blank lines when setting u…
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez authored and hsbt committed Dec 13, 2024
1 parent 8cc47c9 commit 706cabb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/bundler/support/rubygems_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 706cabb

Please sign in to comment.