This project is archived and is in readonly mode.
Load plugin rake tasks before root/lib/tasks
Reported by Ryan Kinderman | May 27th, 2008 @ 04:27 AM
I would like to be able to have the ability to access/modify rake tasks provided by a plugin from within my application, in tasks defined in #{RAILS_ROOT}/lib/tasks. Right now, the plugin .rake files are loaded after those found in #{RAILS_ROOT}/lib/tasks.
The attached patch file simply swaps the load order of the two .rake file groupings.
Comments and changes to this ticket
-
Ryan Bates May 28th, 2008 @ 06:10 AM
+1 it makes sense that project specific tasks would override all others.
-
Repository June 5th, 2008 @ 12:52 PM
- State changed from new to resolved
(from [ed0cb91a830f317e3a8192a90294c1005f6156c2]) Ensure plugins' rake tasks are loaded before application's rake tasks. [#259 state:resolved]
Signed-off-by: Pratik Naik
-
Repository July 15th, 2008 @ 11:56 PM
- Tag set to patch, railties
(from [fc2fbe5eb5480af6db678ee90aeeca24e447053d]) Ensure plugins' rake tasks are loaded before application's rake tasks. [#259 state:resolved]
Signed-off-by: Pratik Naik
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>