mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Rake::DSL should always be available
This commit is contained in:
parent
5f91ea3dc1
commit
c1a0c7782e
1 changed files with 1 additions and 1 deletions
|
@ -191,7 +191,7 @@ module Rails
|
|||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue