Can we tell +rake+ to honour/use the
config.plugin_paths
specified in config/environment/development.rb?
Motivation/Example :
--------------------
In test.rb, I add :
config.plugin_paths = [''vendor/plugins'',
''vendor/plugins-test'']
and in development.rb :
config.plugin_paths = [''vendor/plugins'',
''vendor/plugins-development'']
That lets me sort my plugins based on their target environments, and do
some nice housekeeping :
=> my vendor directory looks like this
vendor
/plugins
...
/plugins-test
simply_bdd
hpricot_test_helper
/plugins-development
query_analyzer
routing_navigator
Problem: +rake+ will just look in vendor/plugins, and ignore
vendor/plugins-development.
=> To launch tests with the rails_rcov I have to put
rcov_rails
in plugins, instead of plugins-development.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---