Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

Commit

Permalink
Switch to "Current" Ruby framework symlink
Browse files Browse the repository at this point in the history
Closes #29795.
Closes #29819.
  • Loading branch information
jacknagel committed Jun 3, 2014
1 parent c1ee668 commit 1bbcc4b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion 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.
Expand Down
4 changes: 2 additions & 2 deletions 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'
Expand Down
2 changes: 1 addition & 1 deletion 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
Expand Down

0 comments on commit 1bbcc4b

Please sign in to comment.