Add the following line to your deploy.rb
before 'deploy:update', 'deploy:setup'
Question
I would like to add cap deploy:setup as a pre-requisite for cap deploy task. How should I do this.
Solution
Add the following line to your deploy.rb
before 'deploy:update', 'deploy:setup'