Skip to content
Browse files

Merge pull request #5919 from joevandyk/rake-dsl-fix

Only include Rake::DSL if it's defined (Rake >= 0.9)
  • Loading branch information...
2 parents 979e9d0 + 07b1fe5 commit dd01c11f9874bebfb9caf90c9da0e3626bb5b78b @jeremy jeremy committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/tasks/documentation.rake
View
2 railties/lib/rails/tasks/documentation.rake
@@ -8,7 +8,7 @@ end
# Monkey-patch to remove redoc'ing and clobber descriptions to cut down on rake -T noise
class RDocTaskWithoutDescriptions < RDoc::Task
- include ::Rake::DSL
+ include ::Rake::DSL if defined?(::Rake::DSL)
def define
task rdoc_task_name

0 comments on commit dd01c11

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