brew irb uses correct Ruby

Conversation here: 0a45d96b21a5056e5131f136e94533a6a57bf808
This commit is contained in:
Max Howell 2012-08-21 09:51:28 -04:00
parent ee11f32fb7
commit ebb894073d

View File

@ -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