提交 ed0cb91a 编写于 作者: R Ryan Kinderman 提交者: Pratik Naik

Ensure plugins' rake tasks are loaded before application's rake tasks. [#259 state:resolved]

Signed-off-by: NPratik Naik <pratiknaik@gmail.com>
上级 c4d570c2
......@@ -4,5 +4,5 @@
Dir["#{File.dirname(__FILE__)}/*.rake"].each { |ext| load ext }
# Load any custom rakefile extensions
Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
Dir["#{RAILS_ROOT}/vendor/plugins/*/**/tasks/**/*.rake"].sort.each { |ext| load ext }
Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册