Ruby CGI

You can also find the source at if you do not
wish to download the file.

I have this ruby program, and it works fine via SSH to the server.
However, using a web browser it spits a 500 error at me. Further
inspection with a cgi output monitor provides a “Network Error”

I would like to also add that this works fine on a short test list of 6,
however, the errors appear when the list becomes much bigger.