Skip to content
Browse files

extend with Rake::DSL in case of rake 0.9.0. fixes #1322

  • Loading branch information...
1 parent 2ca0ae9 commit 57958cb7b924c00ce6761bd0fc75aae304e7380b @tenderlove tenderlove committed
Showing with 1 addition and 0 deletions.
  1. +1 −0 railties/lib/rails/railtie.rb
View
1 railties/lib/rails/railtie.rb
@@ -181,6 +181,7 @@ def load_console
end
def load_tasks
+ extend Rake::DSL if defined? Rake::DSL
self.class.rake_tasks.each(&:call)
end

0 comments on commit 57958cb

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