From: Alan Chen Date: 2002-01-12T03:29:57+09:00 Subject: Re: eruby does not output error message This is how eruby/mod_ruby has always worked for me. If you find a nice way to redirect the error to the client browser for development, I'd like to know. -- alan On Sat, Jan 12, 2002 at 02:24:32AM +0900, Masanori Fujita wrote: > Javier Fontan wrote: > > > > >I don't know much about eruby, but, have you tryed reading error_log from > >apache? > > > This is what the error_log says. It is the same what eruby says when > executing the ruby file manually in the console. > > (My test file contains an invalid identifier 'kkk' to produce an syntax > error.) > > [Fri Jan 11 15:40:33 2002] [error] [client 192.168.0.3] Premature end of > script headers: /var/www/cgi-bin/eruby > /var/www/html/DMS/classes/test.rhtml:6: undefined local variable or > method `kkk' for # (NameError) > --- generated code --- > print "\n" > print "\n" > print "Hallo.
\n" > print "\n" > > kkk > puts "Everything's nice...
" > print "\n" > print "\n" > print "\n" > print "\n" > ---------------------- > -- Alan Chen Digikata LLC http://digikata.com