diff options
| author | jtimberman | 2014-08-29 09:42:20 -0600 | 
|---|---|---|
| committer | Jack Nagel | 2014-08-29 16:30:57 -0500 | 
| commit | 4afb9e930b6b8369f8d5032d6c8fb47ff997665e (patch) | |
| tree | 82cf257ce038e0bebf34155b67e394ac68a2d689 /install | |
| parent | 8eefd4ec1338b20ba4624d68de9db12281a4496c (diff) | |
| download | homebrew-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-x | install | 2 | 
1 files changed, 1 insertions, 1 deletions
| @@ -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. | 
