Informatika Mihelac
June 05 2006 bugs | fcgi | rails

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"

Speak your mind:

(Required)

(Required)


(You may use textile in your comments.)

About

I am Bojan Mihelac and this blog is dedicated to share code, thoughts, tools and advices I came up with while working in Informatika Mihelac.

Contact: bmihelac@mihelac.org

RSS feedSubscribe to RSS Feed