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.

config.reload_plugins = true only works in environment.rb

#2324

The seemingly obvious place to add config.reload_plugins = true is in development.rb, however this doesn't work because add_plugin_load_paths is called before load_environment. I'm not sure whether this is a documentation issue or whether to come up with a patch.

Setting it in environment.rb shouldn't have any detrimental effect in production (I think), so a documentation update would be the easiest fix. However, if a patch is preferred maybe it'd be better to add a new process step rather than moving add_plugin_load_paths to after load_environment as changing the order of the process steps always seems to break something.

Reported by Andrew White · March 24th, 2009 @ 06:27 AM

State: new
Milestone: 3.x
Assigned to: nobody
Importance: Low

Activity

  1. Jeremy Kemper
    Jeremy Kemper
    • Milestone changed from 2.x to 3.x

    May 4th, 2010 @ 06:48 PM

  2. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • Tag cleared.
    • Importance changed from to Low

    Automatic cleanup of spam.

    November 7th, 2010 @ 04:57 PM

  3. JackC
    JackC

    config.reload_plugins = true in development.rb is working for me on Rails 3.0.2 running in development mode through Passenger/Apache2.

    January 13th, 2011 @ 04:18 PM

  4. bingbing