Hi,
While making my own engine, I noticed the task doc:plugins as redefined by
the engines plugin was broken. It didn't know about the code_paths method
on Rails, so I made this little patch. Hope you find it useful!
Regards,
Peter Bex
Solide ICT - http://www.solide-ict.nl
Index: tasks/engines.rake
===================================================================
--- tasks/engines.rake (revision 593)
+++ tasks/engines.rake (working copy)
@@ -57,6 +57,8 @@
namespace :plugins do
+ Rake::Task[:environment].invoke
+
# Define doc tasks for each plugin
plugins.each do |plugin|
desc "Create plugin documentation for '#{plugin}'"
@@ -144,4 +146,4 @@
# Patch the default plugin testing task to have setup_plugin_fixtures as a
prerequisite
Rake::Task["test:plugins"].prerequisites <<
"test:plugins:setup_plugin_fixtures"
end
-end
\ No newline at end of file
+end
_______________________________________________
engine-developers mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-developers-rails-engines.org