From ba8926ea11e4b372ed66fd13d9c71669357e8ca1 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 7 Jan 2015 23:12:24 -0500 Subject: [PATCH] Don't rely on PATH when invoking xcrun shim --- Library/ENV/4.3/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 42771a4d0c..1500458de9 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -336,5 +336,5 @@ if __FILE__ == $PROGRAM_NAME LOGGER.log! args << { :close_others => false } if RUBY_VERSION >= "2.0" - exec "xcrun", tool, *args + exec "#{File.dirname($0)}/xcrun", tool, *args end