Jun 05

Do not use 'puts' in Rails

Or at least be sure to delete all puts calls before deploying. If you deployed rails app and it does not work with FCGI while everything is good using webrick, look out for forgotten puts method. These bug? can be hard to track as there is no trace in FCGI or rails logs, just old, ugly “Rails application failed to start properly” message.

UPDATE: if you want to output something use logger.info "message"