提交 c1a0c778 编写于 作者: J Jeremy Kemper

Rake::DSL should always be available

上级 5f91ea3d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册