Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Load plugin rake tasks before root/lib/tasks

#259

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.

Reported by Ryan Kinderman · May 27th, 2008 @ 04:27 AM

State: resolved
Milestone: none
Assigned to: nobody
Importance: none

Activity

  1. Ryan Bates
    Ryan Bates

    +1 it makes sense that project specific tasks would override all others.

    May 28th, 2008 @ 06:10 AM

  2. Jay Fields
  3. matthew deiters
    matthew deiters

    +1 small detail, but practical

    May 30th, 2008 @ 07:36 AM

  4. Brendan Baldwin
  5. Mike C
  6. Tom Ward
    Tom Ward

    +1 This would have avoided a specific rake issue I had

    June 4th, 2008 @ 10:27 PM

  7. Repository
    Repository
    • 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

    http://github.com/rails/rails/co...

    June 5th, 2008 @ 12:52 PM

  8. Repository
    Repository
    • 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

    http://github.com/rails/rails/co...

    July 15th, 2008 @ 11:56 PM