mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/psych/extconf.rb: Use an exception instaed of bare abort.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6074032ae6
commit
2e4645ca16
2 changed files with 5 additions and 1 deletions
|
|
@ -1,3 +1,7 @@
|
|||
Fri May 18 15:53:05 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* ext/psych/extconf.rb: Use an exception instaed of bare abort.
|
||||
|
||||
Fri May 18 15:51:32 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||
|
||||
* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ require 'mkmf'
|
|||
dir_config 'libyaml'
|
||||
|
||||
def asplode missing
|
||||
abort "#{missing} is missing. Please install libyaml."
|
||||
raise "#{missing} is missing. Please install libyaml."
|
||||
end
|
||||
|
||||
asplode('yaml.h') unless find_header 'yaml.h'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue