cgi-exception 0.2.0 released - a small library to show exception in your browser

February 22nd, 2008

I have released cgi-exception 0.2.0. http://cgi-exception.rubyforge.org/ cgi-exception is a small library to report exception raised in CGI script into your browser, like PHP. Once you install cgi-exception, you don’t have to look up web server’s log file to check what and at where exception raised in your CGI script.

Enhancements from 0.1.0:

mod_ruby support detect whether HTTP header printed or not omit [...]

Tips to Debug Ruby CGI script

December 24th, 2007

In 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 [...]