How do you roll back to the previously deployed version with capistrano?

Viewed 62299

I tried using "cap rollback" but I get the following error:

$ cap rollback

the task `rollback' does not exist

Is there some additional setup that I need to do to get rollbacks to work?

4 Answers

Actually it is

cap deploy:rollback:code

deploy:rollback may rollback to a previous revision, not necessarily a previously deployed revision.

Related