aboutsummaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
authorjtimberman2014-08-29 09:42:20 -0600
committerJack Nagel2014-08-29 16:30:57 -0500
commit4afb9e930b6b8369f8d5032d6c8fb47ff997665e (patch)
tree82cf257ce038e0bebf34155b67e394ac68a2d689 /install
parent8eefd4ec1338b20ba4624d68de9db12281a4496c (diff)
downloadhomebrew-4afb9e930b6b8369f8d5032d6c8fb47ff997665e.tar.bz2
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 <jacknagel@gmail.com>
Diffstat (limited to 'install')
-rwxr-xr-xinstall2
1 files changed, 1 insertions, 1 deletions
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.