# Reloading Plugins requires restart server

**URL:** <https://www.ruby-forum.com/t/reloading-plugins-requires-restart-server/124631>\
**Category:** Rails\
**Created:** [December 31, 2007, 10:06am UTC](https://www.ruby-forum.com/t/reloading-plugins-requires-restart-server/124631 "2007-12-31T10:06:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fredistic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/a8b319/32.png) [@fredistic](https://www.ruby-forum.com/u/fredistic)\
**Post date:** [December 31, 2007, 10:06am UTC](https://www.ruby-forum.com/t/reloading-plugins-requires-restart-server/124631/1 "2007-12-31T10:06:24Z")

</div>

In development mode I still have to restart the webserver (mongrel)  
when I change the code in a plugin. I’m adding logger calls to  
attachment\_fu to debug my thumbnail problems.

WinXP SP2/32, rails 2.0.2, ruby 1.8.6

Is there an option to have the server reload the plugins?

fredistic

---

<div class="post-metadata">

**Author:** ![fredistic](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/f/a8b319/32.png) [@fredistic](https://www.ruby-forum.com/u/fredistic)\
**Post date:** [January 2, 2008, 11:40am UTC](https://www.ruby-forum.com/t/reloading-plugins-requires-restart-server/124631/2 "2008-01-02T11:40:46Z")

</div>

On 31 Dec 2007, at 09:06, fredistic wrote:

> In development mode I still have to restart the webserver (mongrel)  
> when I change the code in a plugin. I’m adding logger calls to  
> attachment\_fu to debug my thumbnail problems.
> 
> WinXP SP2/32, rails 2.0.2, ruby 1.8.6
> 
> Is there an option to have the server reload the plugins?

You can remove the plugins lib path from Dependencies.load\_once\_paths  
(eg in the plugin’s init.rb)

Fred
