aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Howell2012-08-30 09:55:33 -0400
committerMax Howell2012-08-30 09:55:33 -0400
commitd706eace5666c946312c32afd67e7a9f46c29933 (patch)
tree577e8cd18bef86cff7424891613f7fdd5a76ac2e
parent313423d8ee33d80261b3a3045bb53aa14fda6846 (diff)
downloadhomebrew-d706eace5666c946312c32afd67e7a9f46c29933.tar.bz2
Work for users who delete /usr/bin/ruby
Some people do insane things and are then surprised things break. Fixes #14546.
-rwxr-xr-xLibrary/ENV/4.3/cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 062ffc105..acc0227c2 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