From ee6c43ebee3e8e847e9fd783a8858688d7bcb38a Mon Sep 17 00:00:00 2001 From: Mike McQuaid <mike@mikemcquaid.com> Date: Tue, 16 Aug 2016 17:00:38 +0100 Subject: [PATCH] shims/super/cc: assume Ruby 2. --- Library/Homebrew/shims/super/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/shims/super/cc b/Library/Homebrew/shims/super/cc index e7ab6500fd..a016af7774 100755 --- a/Library/Homebrew/shims/super/cc +++ b/Library/Homebrew/shims/super/cc @@ -359,6 +359,6 @@ if __FILE__ == $PROGRAM_NAME log(basename, ARGV, tool, args) - args << { :close_others => false } if RUBY_VERSION >= "2.0" + args << { :close_others => false } exec "#{dirname}/xcrun", tool, *args end -- GitLab