Reload specific plugins on every request in dev mode?

Hi all

I have in mind to extract some functionality of my Rails app into
plugins. So I’m already placing them into vendor/plugins with the same
structure that a “real” plugin has.
Now I have the problem that the plugins are only loaded when starting
the server. So while I’m fine-tuning them I’d like to reload my specific
pseudo-plugins on every request when in development mode.

How can I achieve that?

Thanks
Josh

I found the following page…

http://weblog.techno-weenie.net/2007/1/26/understanding-the-rails-plugin-initialization-process

…which tells me that adding…

Dependencies.load_once_paths.delete(lib_path)

…at the top of init.rb of my plugin should do the trick, but it seems
it doesn’t for me… :frowning: