1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

ignore rake load error

rake is not available until installation now, so skip rake
packagetask even if it cannot load until it is actually needed.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2015-04-09 06:06:56 +00:00
parent 2cbb3d821c
commit e98d4947b7

View file

@ -1439,7 +1439,10 @@ begin
rescue Gem::LoadError
end
require 'rake/packagetask'
begin
require 'rake/packagetask'
rescue LoadError
end
begin
gem 'rdoc'