summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ext/ripper/extconf.rb3
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bf92792ce27..43977482302 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri May 18 15:38:11 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
+
+ * ext/ripper/extconf.rb: Use an exception instead of bare
+ Logging.message.
+
Fri May 18 15:23:06 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* ext/openssl/extconf.rb: Clarify a message when hit Apple
diff --git a/ext/ripper/extconf.rb b/ext/ripper/extconf.rb
index 4914d70e78d..db54e5ca2a7 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)