зеркало из https://github.com/github/ruby.git
* 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:
Родитель
6074032ae6
Коммит
2e4645ca16
|
@ -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>
|
Fri May 18 15:51:32 2012 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
|
||||||
|
|
||||||
* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
|
* ext/fiddle/extconf.rb: Use an exception instaed of bare abort.
|
||||||
|
|
|
@ -5,7 +5,7 @@ require 'mkmf'
|
||||||
dir_config 'libyaml'
|
dir_config 'libyaml'
|
||||||
|
|
||||||
def asplode missing
|
def asplode missing
|
||||||
abort "#{missing} is missing. Please install libyaml."
|
raise "#{missing} is missing. Please install libyaml."
|
||||||
end
|
end
|
||||||
|
|
||||||
asplode('yaml.h') unless find_header 'yaml.h'
|
asplode('yaml.h') unless find_header 'yaml.h'
|
||||||
|
|
Загрузка…
Ссылка в новой задаче