From 933b5ced230b8b02c03133c55d65b23cbce22cb3 Mon Sep 17 00:00:00 2001 From: kosaki Date: Fri, 18 May 2012 07:01:54 +0000 Subject: * ext/ripper/extconf.rb: Use an exception instead of bare Logging.message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ext/ripper/extconf.rb | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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) -- cgit v1.2.3