Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit dd01c11f9874bebfb9caf90c9da0e3626bb5b78b 2 parents 979e9d0 + 07b1fe5
@jeremy jeremy authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.