aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMax Howell2012-08-30 09:55:33 -0400
committerMax Howell2012-08-30 09:55:33 -0400
commit8f299d9779b5f1f339186f0b9d7c5fa6bcd8e73a (patch)
tree9c33f8df1c7bdb98e0e20df599711ca6b4026c35 /Library
parentea12f340e7ddd8232b15fe1e40f088601551e92d (diff)
downloadbrew-8f299d9779b5f1f339186f0b9d7c5fa6bcd8e73a.tar.bz2
Work for users who delete /usr/bin/ruby
Some people do insane things and are then surprised things break. Fixes Homebrew/homebrew#14546.
Diffstat (limited to 'Library')
-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