aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorMax Howell2012-08-21 09:51:28 -0400
committerMax Howell2012-08-21 12:09:07 -0400
commitebb894073de883c471db918b3e065ed69715aca9 (patch)
tree2cd5b4d1e554657fa3bd39258383849af5a1ad2e /Library/Homebrew
parentee11f32fb7bb091598e976604e8876fc77001e1e (diff)
downloadbrew-ebb894073de883c471db918b3e065ed69715aca9.tar.bz2
`brew irb` uses correct Ruby
Conversation here: 0a45d96b21a5056e5131f136e94533a6a57bf808
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/cmd/irb.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/irb.rb b/Library/Homebrew/cmd/irb.rb
index e2a29d71b..845747c25 100644
--- a/Library/Homebrew/cmd/irb.rb
+++ b/Library/Homebrew/cmd/irb.rb
@@ -5,7 +5,10 @@ module Homebrew extend self
else
ohai "Interactive Homebrew Shell"
puts "Example commands available with: brew irb --help"
- exec "irb", "-I#{HOMEBREW_REPOSITORY}/Library/Homebrew", "-rglobal", '-rformula', '-rkeg'
+ require 'formula'
+ require 'keg'
+ require 'irb'
+ IRB.start
end
end
end