Permalink
Browse files

Rake::DSL should always be available

  • Loading branch information...
1 parent 5f91ea3 commit c1a0c7782eba29db5877d6b02e5e84cee15ae069 @jeremy jeremy committed May 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/lib/rails/railtie.rb
@@ -191,7 +191,7 @@ def load_runner(app=self)
def load_tasks(app=self)
require 'rake'
- extend Rake::DSL if defined? Rake::DSL
+ extend Rake::DSL
self.class.rake_tasks.each { |block| self.instance_exec(app, &block) }
# load also tasks from all superclasses

0 comments on commit c1a0c77

Please sign in to comment.