From 7af4622b0f06d0f505f4e57ea4f65b6e8626e2cc Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sat, 19 May 2012 19:57:56 -0500 Subject: 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 Homebrew/homebrew#12009. Closes Homebrew/homebrew#12333. Signed-off-by: Misty De Meo --- bin/brew | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/brew b/bin/brew index ac713539c..51e019e1c 100755 --- a/bin/brew +++ b/bin/brew @@ -1,4 +1,4 @@ -#!/usr/bin/ruby +#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby # -*- coding: utf-8 -*- HOMEBREW_BREW_FILE = ENV['HOMEBREW_BREW_FILE'] = File.expand_path(__FILE__) -- cgit v1.2.3