From 3a2259c2714b36d6e224efbde49ba0c9b8abb5a5 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Thu, 21 Feb 2019 15:42:12 +0000 Subject: [PATCH] utils/gems: silence `bundle check` output. --- Library/Homebrew/utils/gems.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/utils/gems.rb b/Library/Homebrew/utils/gems.rb index e6a04b15df..97a68faebb 100644 --- a/Library/Homebrew/utils/gems.rb +++ b/Library/Homebrew/utils/gems.rb @@ -63,7 +63,7 @@ module Homebrew ENV["BUNDLE_GEMFILE"] = "#{ENV["HOMEBREW_LIBRARY"]}/Homebrew/Gemfile" @bundle_installed ||= begin - bundle_check_output = `#{Gem.bindir}/bundle check` + bundle_check_output = `#{Gem.bindir}/bundle check 2>&1` bundle_check_failed = !$CHILD_STATUS.exitstatus.zero? # for some reason sometimes the exit code lies so check the output too.