summaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-19 16:03:47 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2011-11-19 16:03:47 +0000
commita41efc7dd444e8b9a146fdbae979fd87f3063168 (patch)
treef131a542179212ff0bb3d7168b9b4a453baf26fc /Rakefile
parent89ce0d0aea88d20fdb7de067f47d309b515765c9 (diff)
downloadredmine-a41efc7dd444e8b9a146fdbae979fd87f3063168.tar.gz
redmine-a41efc7dd444e8b9a146fdbae979fd87f3063168.zip
Fixed: rake/rdoctask is deprecated (#8611).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7850 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile7
1 files changed, 6 insertions, 1 deletions
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