I'm struggling with debugging my fcgi script.
Past experience with Perl says if you want to see the script run you just run it on the command line and you can see the STDOUT and STDERR right there in front of you.
Under Ruby it just sits and waits for a connection.
How does one go about debugging/testing fcgi scripts under Ruby?