I write a plugin.
After any changes maked to it I have to :
- restart WebRick, to load new changes. It is not comfortable
or - if I use Apache with CGI. It takes too much time for each request
(about 4-5 sec).
some Ideas?
I write a plugin.
After any changes maked to it I have to :
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 :
- restart WebRick, to load new changes. It is not comfortable
Include Reloadable in your classes. See http://rails.outertrack.com/
module/Reloadable
- 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/
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs