Restart Rails by plugin development

I write a plugin.
After any changes maked to it I have to :

  1. restart WebRick, to load new changes. It is not comfortable
    or
  2. if I use Apache with CGI. It takes too much time for each request
    (about 4-5 sec).

some Ideas?

On 12/06/2006, at 9:43 PM, Roman Ilin wrote:

I write a plugin.
After any changes maked to it I have to :

  1. restart WebRick, to load new changes. It is not comfortable

Include Reloadable in your classes. See http://rails.outertrack.com/
module/Reloadable

  1. if I use Apache with CGI. It takes too much time for each request
    (about 4-5 sec).

You shouldn’t use CGI for Rails. As you’ve noticed, it’s incredibly
slow. Use FCGI or Mongrel.

Cheers,

Pete Y.
http://9cays.com/