diff options
| author | Jack Nagel | 2014-06-03 10:14:58 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-06-03 11:03:53 -0500 |
| commit | 1bbcc4b5110f5a0573dfc78175d05fe454bbbda0 (patch) | |
| tree | 05d2462d0f29b88009d7c08f01e7c7badfb864e9 /Library | |
| parent | c1ee6680c08650fc5f3c79f0e62c64fcb5de1175 (diff) | |
| download | homebrew-1bbcc4b5110f5a0573dfc78175d05fe454bbbda0.tar.bz2 | |
Switch to "Current" Ruby framework symlink
Closes #29795.
Closes #29819.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-server | 2 | ||||
| -rwxr-xr-x | Library/ENV/4.3/cc | 4 | ||||
| -rwxr-xr-x | Library/brew.rb | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/Library/Contributions/cmd/brew-server b/Library/Contributions/cmd/brew-server index e51817b6a..c8f3b3118 100755 --- a/Library/Contributions/cmd/brew-server +++ b/Library/Contributions/cmd/brew-server @@ -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 ## brew server: Run a local webserver for browsing available and installed brews. # Note: this external command is ruby, but set up as a shell script, so that it gets exec'd. diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 06a504da1..36a8be8c6 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -1,6 +1,6 @@ -#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0 +#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0 -$:.unshift "/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8" +$:.unshift Dir["/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/lib/ruby/{1.8,2.0.0}"].first require 'pathname' require 'set' require 'stringio' diff --git a/Library/brew.rb b/Library/brew.rb index 60c3109f0..9064cacdb 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -1,4 +1,4 @@ -#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -W0 +#!/System/Library/Frameworks/Ruby.framework/Versions/Current/usr/bin/ruby -W0 # encoding: UTF-8 std_trap = trap("INT") { exit! 130 } # no backtrace thanks |
