Capistrano Integration

Whenever’s documentation recommends using defer { stage }, but don’t use it.
Capistrano will set stage to be the filename of the environment, which can be
anything like qa02 or internal-homologation-server.
Use defer { environment } or defer { rails_env } (as above).

By default Capistrano only runs the update_crontab task on the servers marked with the :db role.
This is usually what you want, since you don’t want to run cronjobs in all the machines.

This website is licensed through the Creative Commons Attribution-ShareAlike 3.0 license.