Tips to Debug Ruby CGI script
December 24th, 2007In Ruby CGI script, error messages are printed only in log file. If you got any errors, you must look up log file to know what and where error raised. This is not difficult, but a bother thing.
The following script named ‘cgi_exception.rb’ is a tiny script to display exception in browser like PHP. If you [...]