From 8f299d9779b5f1f339186f0b9d7c5fa6bcd8e73a Mon Sep 17 00:00:00 2001 From: Max Howell Date: Thu, 30 Aug 2012 09:55:33 -0400 Subject: [PATCH] Work for users who delete /usr/bin/ruby Some people do insane things and are then surprised things break. Fixes Homebrew/homebrew#14546. --- 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 062ffc1051..acc0227c21 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -1,4 +1,4 @@ -#!/usr/bin/ruby -W0 +#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0 #TODO make it work with homebrew/dupes/gcc #TODO? If we find -mmacosx-version-min=10.8, change sdkroot? warn visibly if no such SDK? #TODO fix pkg-config files, should point to /usr/local or /usr/local/opt