From a41efc7dd444e8b9a146fdbae979fd87f3063168 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sat, 19 Nov 2011 16:03:47 +0000 Subject: [PATCH] Fixed: rake/rdoctask is deprecated (#8611). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7850 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- Rakefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- 2.39.5