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 #<Object:0x401e8ce0> (NameError) > --- generated code --- > print "<html>\n" > print "<body>\n" > print "Hallo.<br>\n" > print "\n" > > kkk > puts "Everything's nice...<br>" > print "\n" > print "\n" > print "</body>\n" > print "</html>\n" > ---------------------- > -- Alan Chen Digikata LLC http://digikata.com