Work for users who delete /usr/bin/ruby

Some people do insane things and are then surprised things break.

Fixes Homebrew/homebrew#14546.
This commit is contained in:
Max Howell 2012-08-30 09:55:33 -04:00
parent ea12f340e7
commit 8f299d9779

View File

@ -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 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? 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 #TODO fix pkg-config files, should point to /usr/local or /usr/local/opt