From: Jean-Philippe Lang Date: Sat, 19 Nov 2011 16:03:47 +0000 (+0000) Subject: Fixed: rake/rdoctask is deprecated (#8611). X-Git-Tag: 1.3.0~162 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a41efc7dd444e8b9a146fdbae979fd87f3063168;p=redmine.git Fixed: rake/rdoctask is deprecated (#8611). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7850 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/Rakefile b/Rakefile index cffd19f0c..610619eda 100644 --- a/Rakefile +++ b/Rakefile @@ -5,6 +5,11 @@ require(File.join(File.dirname(__FILE__), 'config', 'boot')) require 'rake' require 'rake/testtask' -require 'rake/rdoctask' + +begin + require 'rdoc/task' +rescue LoadError + # RDoc is not available +end require 'tasks/rails' \ No newline at end of file