diff --git a/ChangeLog b/ChangeLog index bf92792ce2..4397748230 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri May 18 15:38:11 2012 KOSAKI Motohiro + + * ext/ripper/extconf.rb: Use an exception instead of bare + Logging.message. + Fri May 18 15:23:06 2012 KOSAKI Motohiro * ext/openssl/extconf.rb: Clarify a message when hit Apple diff --git a/ext/ripper/extconf.rb b/ext/ripper/extconf.rb index 4914d70e78..db54e5ca2a 100644 --- a/ext/ripper/extconf.rb +++ b/ext/ripper/extconf.rb @@ -6,8 +6,7 @@ require 'rbconfig' def main unless find_executable('bison') unless File.exist?('ripper.c') or File.exist?("#{$srcdir}/ripper.c") - Logging.message 'missing bison; abort' - return + raise 'missing bison; abort' end end $objs = %w(ripper.o)