Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Rake::DSL should always be available

  • Loading branch information...
commit c1a0c7782eba29db5877d6b02e5e84cee15ae069 1 parent 5f91ea3
Jeremy Kemper jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/railtie.rb
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.