diff options
| author | Max Howell | 2012-08-21 09:51:28 -0400 |
|---|---|---|
| committer | Max Howell | 2012-08-21 12:09:07 -0400 |
| commit | a96057994b6a9919862e5a501d2741ff71f142f5 (patch) | |
| tree | a5e933c7d0fed163df631603863a94f25663bca9 /Library | |
| parent | 188b1596a65e1c8b1180f5691ce31eadb266871c (diff) | |
| download | homebrew-a96057994b6a9919862e5a501d2741ff71f142f5.tar.bz2 | |
`brew irb` uses correct Ruby
Conversation here: 0a45d96b21a5056e5131f136e94533a6a57bf808
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/irb.rb | 5 |
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 |
