Fixed: rake/rdoctask is deprecated (#8611).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7850 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-11-19 16:03:47 +00:00
parent 89ce0d0aea
commit a41efc7dd4
1 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,11 @@ require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake' require 'rake'
require 'rake/testtask' require 'rake/testtask'
require 'rake/rdoctask'
begin
require 'rdoc/task'
rescue LoadError
# RDoc is not available
end
require 'tasks/rails' require 'tasks/rails'