aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/install_homebrew.rb
diff options
context:
space:
mode:
authorMisty De Meo2012-05-19 19:57:56 -0500
committerMisty De Meo2012-06-01 09:24:25 -0500
commitd727f8b7f34d6d355bf64233cf49287012f457bc (patch)
tree5eb9eeb49fefca73caad3bc646e99a0e59366aaf /Library/Contributions/install_homebrew.rb
parent616a3fc051e33be76a06708985df66208a0d00e7 (diff)
downloadhomebrew-d727f8b7f34d6d355bf64233cf49287012f457bc.tar.bz2
Replace /usr/bin/ruby with full Framework path
Rationale: some users insist on replacing the /usr/bin/ruby symlink to point to another ruby on their system, which may break homebrew. Use the full Framework path instead, which is less likely to be tampered with. This also reorganizes the brew --config checks to reflect the different path. Fixes #12009. Closes #12333. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
Diffstat (limited to 'Library/Contributions/install_homebrew.rb')
-rw-r--r--Library/Contributions/install_homebrew.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Contributions/install_homebrew.rb b/Library/Contributions/install_homebrew.rb
index 32099946f..3cf4f2f1c 100644
--- a/Library/Contributions/install_homebrew.rb
+++ b/Library/Contributions/install_homebrew.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
# This script installs to /usr/local only. To install elsewhere you can just
# untar https://github.com/mxcl/homebrew/tarball/master anywhere you like.