Skip to content

Commit

Permalink
extend with Rake::DSL in case of rake 0.9.0. fixes rails#1322
Browse files Browse the repository at this point in the history
  • Loading branch information
tenderlove committed May 27, 2011
1 parent 2ca0ae9 commit 57958cb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions railties/lib/rails/railtie.rb
Expand Up @@ -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

Expand Down

0 comments on commit 57958cb

Please sign in to comment.