提交 089d3ec3 编写于 作者: J Jeremy Kemper

Rake: use absolute paths to load lib and vendor tasks so they may be run...

Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. Closes #6584.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5469 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
上级 57313c54
*SVN*
* Rake: use absolute paths to load lib and vendor tasks so they may be run outside of RAILS_ROOT. #6584 [jchris]
* Remove temporary crutch to help ApplicationController be unloaded. Closes #6496. [Nicholas Seckar]
* scaffold_resource generator uses _path named routes and head instead of render :nothing => true. #6545 [Josh Susser]
......
......@@ -4,5 +4,5 @@
Dir["#{File.dirname(__FILE__)}/*.rake"].each { |ext| load ext }
# Load any custom rakefile extensions
Dir["./lib/tasks/**/*.rake"].sort.each { |ext| load ext }
Dir["./vendor/plugins/**/tasks/**/*.rake"].sort.each { |ext| load ext }
Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }
Dir["#{RAILS_ROOT}/vendor/plugins/**/tasks/**/*.rake"].sort.each { |ext| load ext }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册