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

Readonly picture Readonly · Jan 30, 2009 · Viewed 59k times · Source

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?

Answer

Readonly picture Readonly · Jan 30, 2009

Just found the answer here http://github.com/leehambley/railsless-deploy:

cap deploy:rollback