From 76531cbe88f661d8fbd58e6806375ce0dcf08074 Mon Sep 17 00:00:00 2001
From: Akira Matsuda <ronnie@dio.jp>
Date: Thu, 31 May 2012 19:18:56 +0900
Subject: Revert "Only include Rake::DSL if it's defined."

This reverts commit 82c3aca17e78d25f217702e530586673f2a219d7.

Reason: Ruby 1.9.3 is shipped with Rake > 0.9
---
 railties/lib/rails/tasks/documentation.rake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/lib')

diff --git a/railties/lib/rails/tasks/documentation.rake b/railties/lib/rails/tasks/documentation.rake
index 4ec49eee76..2851ca4189 100644
--- a/railties/lib/rails/tasks/documentation.rake
+++ b/railties/lib/rails/tasks/documentation.rake
@@ -2,7 +2,7 @@ require 'rdoc/task'
 
 # Monkey-patch to remove redoc'ing and clobber descriptions to cut down on rake -T noise
 class RDocTaskWithoutDescriptions < RDoc::Task
-  include ::Rake::DSL if defined?(::Rake::DSL)
+  include ::Rake::DSL
 
   def define
     task rdoc_task_name
-- 
cgit v1.2.3