]> source.dussan.org Git - redmine.git/commitdiff
Fixed: rake/rdoctask is deprecated (#8611).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Nov 2011 16:03:47 +0000 (16:03 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 19 Nov 2011 16:03:47 +0000 (16:03 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7850 e93f8b46-1217-0410-a6f0-8f06a7374b81

Rakefile

index cffd19f0c1612d757eeba118b670a2d8093551f6..610619eda857e1e3604ab409ea729515db9e3703 100644 (file)
--- 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