Print debug messages to stderr

Closes Homebrew/homebrew#29294.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Geoff Nixon 2014-05-15 21:00:50 -07:00 committed by Jack Nagel
parent 631a5a3a0b
commit 3cd5f17426

View File

@ -60,7 +60,7 @@ class Formulary
end
unless have_klass
puts "#{$0} (#{self.class.name}): loading #{path}" if ARGV.debug?
STDERR.puts "#{$0} (#{self.class.name}): loading #{path}" if ARGV.debug?
begin
require path
rescue NoMethodError