Hello out there, I''m just twiddling with 1.2-R2 but I have some Problems with the Server configurations. I tried lighttpd and it works now, but I ran into the problem of too long pathnames that caused lighttpd to exit unintentionally. I moved my project folder to my home-root and now it works. But lighttpd is not so fine for development because the fcgi processes are keeping my classes in memory. When I try mongrel I get on any request this Error calling Dispatcher.dispatch #<ArgumentError: wrong number of arguments (0 for 1)> -error, which walks right through Rails - am I allowed to post complete traces of these errors here in this Mailing-List and has somebody experienced the same problem? After the first request it takes one minute to kill mongrel, maybe it lost a thread for something I would like to know. Last - bnl - there is something called webrick, which is, I though, a pretty robust slave in this kind of situations. It just gives me: #<ArgumentError: wrong number of arguments (0 for 1)> and my browser only displays: Not Found `/'' not found. WEBrick/1.3.1 (Ruby/1.8.5/2006-08-25) at localhost:3000 Webricks trace is not clear at all... :( I''m using OSX-4, Intel, Self-Compiled Ruby 1.8.5 with gem 0.9. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I still can''t get any of mongrel or webrick to work in development mode, production works fine. Attached: webrick trace --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~--- Sincerely Florian Am 06.01.2007 um 20:58 schrieb Florian Aßmann:> > Hello out there, > > I''m just twiddling with 1.2-R2 but I have some Problems with the > Server configurations. I tried lighttpd and it works now, but I > ran into the problem of too long pathnames that caused lighttpd to > exit unintentionally. I moved my project folder to my home-root > and now it works. But lighttpd is not so fine for development > because the fcgi processes are keeping my classes in memory. > When I try mongrel I get on any request this > > Error calling Dispatcher.dispatch #<ArgumentError: wrong number of > arguments (0 for 1)> > > -error, which walks right through Rails - am I allowed to post > complete traces of these errors here in this Mailing-List and has > somebody experienced the same problem? > After the first request it takes one minute to kill mongrel, maybe > it lost a thread for something I would like to know. > > Last - bnl - there is something called webrick, which is, I though, > a pretty robust slave in this kind of situations. > > It just gives me: > > #<ArgumentError: wrong number of arguments (0 for 1)> > > and my browser only displays: > > Not Found > `/'' not found. > WEBrick/1.3.1 (Ruby/1.8.5/2006-08-25) at localhost:3000 > > Webricks trace is not clear at all... :( > > I''m using OSX-4, Intel, Self-Compiled Ruby 1.8.5 with gem 0.9. > > --~--~---------~--~----~------------~-------~--~----~ > You received this message because you are subscribed to the Google > Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk- > unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > For more options, visit this group at http://groups.google.com/ > group/rubyonrails-talk?hl=en > -~----------~----~----~----~------~----~------~--~--- >
Ok, I also tested with Rails 1.1.6, Ruby 1.85. I put my freezed to 1.1.6 rails application in /tmp for a short path and started webrick in both production und development and as normal or superuser. Environment production worked like a charm but in development rails always tells me that the dispatcher raises an argument error, with wrong number of arguments. This happens with mongrel and webrick wherefor mongrel needs 60 seconds to shutdown because it lost a thread and webrick didn''t even find a controller and displays ''/'' not found. Thanks for any help Florian Am 06.01.2007 um 20:58 schrieb Florian Aßmann:> > Hello out there, > > I''m just twiddling with 1.2-R2 but I have some Problems with the > Server configurations. I tried lighttpd and it works now, but I > ran into the problem of too long pathnames that caused lighttpd to > exit unintentionally. I moved my project folder to my home-root > and now it works. But lighttpd is not so fine for development > because the fcgi processes are keeping my classes in memory. > When I try mongrel I get on any request this > > Error calling Dispatcher.dispatch #<ArgumentError: wrong number of > arguments (0 for 1)> > > -error, which walks right through Rails - am I allowed to post > complete traces of these errors here in this Mailing-List and has > somebody experienced the same problem? > After the first request it takes one minute to kill mongrel, maybe > it lost a thread for something I would like to know. > > Last - bnl - there is something called webrick, which is, I though, > a pretty robust slave in this kind of situations. > > It just gives me: > > #<ArgumentError: wrong number of arguments (0 for 1)> > > and my browser only displays: > > Not Found > `/'' not found. > WEBrick/1.3.1 (Ruby/1.8.5/2006-08-25) at localhost:3000 > > Webricks trace is not clear at all... :( > > I''m using OSX-4, Intel, Self-Compiled Ruby 1.8.5 with gem 0.9. > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---