Max Howell ebb894073d brew irb uses correct Ruby
Conversation here: 0a45d96b21a5056e5131f136e94533a6a57bf808
2012-08-21 12:09:07 -04:00

15 lines
324 B
Ruby

module Homebrew extend self
def irb
if ARGV.include? "--help"
puts "Formula.factory('ace').installed?"
else
ohai "Interactive Homebrew Shell"
puts "Example commands available with: brew irb --help"
require 'formula'
require 'keg'
require 'irb'
IRB.start
end
end
end