diff options
author | Akira Matsuda <ronnie@dio.jp> | 2012-05-31 19:18:56 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2012-06-01 15:17:18 +0900 |
commit | 76531cbe88f661d8fbd58e6806375ce0dcf08074 (patch) | |
tree | 9dc3216c64bc760ef4ebd428493dfec176a926b4 | |
parent | c1a0c7782eba29db5877d6b02e5e84cee15ae069 (diff) | |
download | rails-76531cbe88f661d8fbd58e6806375ce0dcf08074.tar.gz rails-76531cbe88f661d8fbd58e6806375ce0dcf08074.tar.bz2 rails-76531cbe88f661d8fbd58e6806375ce0dcf08074.zip |
Revert "Only include Rake::DSL if it's defined."
This reverts commit 82c3aca17e78d25f217702e530586673f2a219d7.
Reason: Ruby 1.9.3 is shipped with Rake > 0.9
-rw-r--r-- | railties/lib/rails/tasks/documentation.rake | 2 |
1 files changed, 1 insertions, 1 deletions
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 |