capistrano

Capistrano recipes for deploying to Passenger

I did a search for recipes to handle starting/restarting Passenger rails applications. I cam across this dzone snippet that I felt had the right approach. It creates a mod_rails:restart task and then overrides the deploy:start and deploy:restart tasks with a call to that task. This not only accomplishes restarting properly but also removes the default deploy:restart task which is not applicable.

Syndicate content
Creative Commons License Except where otherwise noted, content on this site is licensed under a Creative Commons by-nc-sa 3.0 License