Skip to content
Browse files

Revert "Only include Rake::DSL if it's defined."

This reverts commit 82c3aca.

Reason: Ruby 1.9.3 is shipped with Rake > 0.9
  • Loading branch information...
1 parent c1a0c77 commit 76531cbe88f661d8fbd58e6806375ce0dcf08074 @amatsuda amatsuda committed May 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/tasks/documentation.rake
2 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

0 comments on commit 76531cb

Please sign in to comment.
Something went wrong with that request. Please try again.