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? -- Posted via http://www.ruby-forum.com/.
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 comfortableInclude Reloadable in your classes. See http://rails.outertrack.com/ module/Reloadable> 2) 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 Yandell http://9cays.com/