diff options
| -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 | 
