javan/whenever — pull request #247 by cap10morgan (2012-08-21 17:53:31+00:00)
Title: run whenever from the release_path instead of the current_path in update_crontab task

According to the capistrano docs: https://raw.github.com/mpasternacki/capistrano-documentation-support-files/master/default-execution-path/Capistrano%20Execution%20Path.jpg, deploy:finalize_update is run before deploy:symlink.

Whenever hooks its update_crontab task into the before deploy:finalize_update hook, which means the current_path will still point at the last successful deployment, not the one we're currently deploying. It should use current_path instead for this.