From 4afb9e930b6b8369f8d5032d6c8fb47ff997665e Mon Sep 17 00:00:00 2001 From: jtimberman Date: Fri, 29 Aug 2014 09:42:20 -0600 Subject: Use Current symlink instead of hardcode 1.8 The #! should point at `Current`, which is a symlink to the "system" version of Ruby. This symlink exists by default on at least 10.6, 10.8, 10.9, and 10.10. In 10.10, Ruby 1.8 is not present, so the install script fails to install brew on Yosemite beta (10.10). Signed-off-by: Jack Nagel --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'install') diff --git a/install b/install index c9c632104..7df986474 100755 --- a/install +++ b/install @@ -1,4 +1,4 @@ -#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby +#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby # This script installs to /usr/local only. To install elsewhere you can just # untar https://github.com/Homebrew/homebrew/tarball/master anywhere you like or # change the value of HOMEBREW_PREFIX. -- cgit v1.2.3