summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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