summaryrefslogtreecommitdiff
path: root/ext/ripper
diff options
context:
space:
mode:
authorkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-18 07:01:54 +0000
committerkosaki <kosaki@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-18 07:01:54 +0000
commit933b5ced230b8b02c03133c55d65b23cbce22cb3 (patch)
tree2d4d640ea6084738ce1b2f464fa1791d6b51b2ba /ext/ripper
parent4e9a880916bd99057a2af4ed022fdcb87de4d645 (diff)
* 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
Diffstat (limited to 'ext/ripper')
-rw-r--r--ext/ripper/extconf.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/ripper/extconf.rb b/ext/ripper/extconf.rb
index 4914d70..db54e5c 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)