9z0b3t1c / capistrano-resque

Capistrano integration for Resque
MIT License
223 stars 144 forks source link

rake resque:start hangs if anything writes to STDOUT #79

Closed marshally closed 10 years ago

marshally commented 10 years ago

If any code writes to STDOUT during rake resque:restart then capistrano hangs.

I've redirected the output of this command to /dev/null, which allows the cap task to complete.

Yes, this will swallow errors. I'm new to working with capistrano in this way and open to suggestions on how to handle that in a more friendly way.

In the meantime, this branch might help some people have cleaner deploys.

/cc @pengwynn

dmarkow commented 10 years ago

Thank you for this! I wound up merging another pull request which allowed configuration of a log file to redirect stderr/stdout to (instead of it being fixed to /dev/null). However, the default log file is /dev/null so the current master branch should function identically to your pull request.

Thank you for your contribution!