I'm trying to use "puts" to test a few things with a Sinatra app that's hosted on Heroku. Interestingly, the output seems to queue up and only displays upon restarting the Heroku dyno. I've tried with 'Thin' and 'Webrick', but have the same issue.
Any thoughts?
$stdout.sync = true
early in your apps startup (top ofconfig.ru
is a good place). – Aglet