diff options
author | Joe Van Dyk <joe@fixieconsulting.com> | 2012-04-21 03:10:25 -0700 |
---|---|---|
committer | Joe Van Dyk <joe@fixieconsulting.com> | 2012-04-21 03:10:25 -0700 |
commit | 07b1fe5b3f27427b9b1f6e7971afd170d089aa1d (patch) | |
tree | 2f283e866e69e6a563c7d818288d96e6884aa569 /railties/lib/rails | |
parent | f51557deb0a591a442e94d07d90e57853693ad14 (diff) | |
download | rails-07b1fe5b3f27427b9b1f6e7971afd170d089aa1d.tar.gz rails-07b1fe5b3f27427b9b1f6e7971afd170d089aa1d.tar.bz2 rails-07b1fe5b3f27427b9b1f6e7971afd170d089aa1d.zip |
Only include Rake::DSL if it's defined.
rake < 0.9 doesn't define Rake::DSL.
Diffstat (limited to 'railties/lib/rails')
-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 1c28b2c8e6..1760f526e3 100644 --- a/railties/lib/rails/tasks/documentation.rake +++ b/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 |