Hi, I''m new to Rails and was trying out the tutorial that they give on
the apple website
http://developer.apple.com/tools/rubyonrails.html
I installed everything including lighttpd, and I got up to the point
where I want to create
my first record. When I hit the ''create'' button, lighttpd
quits. If I
have the server running
as a foreground process I get this message and it then closes the
server and returns
to the command line. If I run the webrick server it doesn''t exit and
acts as expected.
I don''t understand. Does anyone know what could be going wrong? Any
help is
appreciated.
=> Booting lighttpd (use ''script/server webrick'' to force
WEBrick)
=> Rails application started on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server (see config/lighttpd.conf for options)
Processing ExpensesController#new (for 127.0.0.1 at 2006-10-17
02:20:50) [GET]
Session ID: 1d6777b6d44d39e2f0a1c8138e54a0a3
Parameters: {"action"=>"new",
"controller"=>"expenses"}
Account Columns (0.005781) SHOW FIELDS FROM accounts
Rendering within layouts/expenses
Rendering expenses/new
Rendered expenses/_form (0.00393)
Completed in 0.07239 (13 reqs/sec) | Rendering: 0.01446 (19%) | DB:
0.00578 (7%) | 200 OK [ http://localhost/expenses/new]
Exiting
Thanks,
Nikhil
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
This is likely to be the cause of your problem: http://trac.lighttpd.net/trac/wiki/FrequentlyAskedQuestions#Lighttpdcrasheswhenusingserver.event-handlerpollinMacOSX You have to edit the lighttpd.conf file and add the following line: server.event-handler = "freebsd-kqueue" If that fails, you can always use Webrick instead of Lighttpd by invoking the server with: script/server webrick HIH, Aitor --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Aitor, thank you so much for replying. That was the problem. Nikhil --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Hi Nikhil, I just took the trouble to replace lighty with apache/mongrel on my development box. You might consider doing the same, since lighty''s development seems to be stalling. Cheers Starr --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On 10/18/06, Starr <snhorne-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I just took the trouble to replace lighty with apache/mongrel on my > development box. You might consider doing the same, since lighty''s > development seems to be stalling.Lighty is under very active development. Perhaps it''s your interest in it that''s stalling? jeremy --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Well I stand corrected. :) Actually, I would probably still be using it if it could handle upload progress. Cheers Starr --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---