ruby rails - using 'p' to print causes errors
Posted by: mccann
Posted on: 2007-01-06 09:08:00
When I use the standard print mechanism for Rails, .fcgi and .cgi throw errors. When run from the webrick server, no issues. Webrick writes it to the console, while .cgi writes it to standard out.
Any ideas?
I'm about to switch my code to use the logger instead of "p".