I have everything working and I am really excited about learning Ruby and Rails. But whenever I access my different defs in my controller it takes ~ 5 seconds before they are returned. I am working locally so I don''t know what the issue is. System Details: Windows XP Apache 2.0.55 Ruby 1.8.2 Rails 1.0 Seth Buntin Web Resources Coordinator Kentucky Academy of Technology Education Murray State University -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060210/cd56f366/attachment-0001.html
On Feb 10, 2006, at 11:23 AM, Buntin, Seth - KATE wrote:> I have everything working and I am really excited about learning > Ruby and Rails. But whenever I access my different defs in my > controller it takes ~ 5 seconds before they are returned. I am > working locally so I don''t know what the issue is. > > Seth BuntinSeth, odds are good that your requests aren''t being processed by FCGI. Add a little logging to dispatch.cgi and dispatch.fcgi to see which is called. If that is the problem, check that your .htaccess file is set up for FCGI. Scott
Seth ~ Keep in mind that development mode will be much slower than production as everything is reloaded when the page is rendered. I have also found that after a lot of calls to the app, Apache starts to bloat. Restarting Apache will speed the app back up. I don''t use windows / apache in production, just for development. ~ Ben On 2/10/06, Scott Willson <scott@butlerpress.com> wrote:> > On Feb 10, 2006, at 11:23 AM, Buntin, Seth - KATE wrote: > > > I have everything working and I am really excited about learning > > Ruby and Rails. But whenever I access my different defs in my > > controller it takes ~ 5 seconds before they are returned. I am > > working locally so I don''t know what the issue is. > > > > Seth Buntin > > Seth, odds are good that your requests aren''t being processed by > FCGI. Add a little logging to dispatch.cgi and dispatch.fcgi to see > which is called. If that is the problem, check that your .htaccess > file is set up for FCGI. > > Scott > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-- Ben Reubenstein http://www.benr75.com -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060210/cab2a4fc/attachment.html
If you''re just learning, why not just use webrick (run "ruby script\server" from your project root dir)? b Buntin, Seth - KATE wrote:> I have everything working and I am really excited about learning Ruby > and Rails. But whenever I access my different defs in my controller it > takes ~ 5 seconds before they are returned. I am working locally so I > don''t know what the issue is. > > > > System Details: > > Windows XP > Apache 2.0.55 > Ruby 1.8.2 > Rails 1.0 > > > > Seth Buntin > > Web Resources Coordinator > > Kentucky Academy of Technology Education > > Murray State University > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails