* 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:
kosaki 2012-05-18 07:02:39 +00:00
Родитель 6074032ae6
Коммит 2e4645ca16
2 изменённых файлов: 5 добавлений и 1 удалений

Просмотреть файл

@ -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'