Skip to content

Commit

Permalink
Really fix #1322 (Rake::DSL issue)
Browse files Browse the repository at this point in the history
  • Loading branch information
NDMarcel committed May 29, 2011
1 parent f07fd69 commit d92b22f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/lib/rails/railtie.rb
Expand Up @@ -181,7 +181,7 @@ def load_console
end end


def load_tasks def load_tasks
extend Rake::DSL if defined? Rake::DSL self.class.extend Rake::DSL if defined? Rake::DSL
self.class.rake_tasks.each(&:call) self.class.rake_tasks.each(&:call)
end end


Expand Down

0 comments on commit d92b22f

Please sign in to comment.