Capistrano/SwitchTower: DB activity for deploy task?


Does anyone know if Capistrano/Switchtower actually does anything on the
database server as part of the “deploy” task?

I’m pretty sure that it doesn’t, but thought I would verify.



It deploys the app (i.e., updates the code and the symlink), but
doesn’t actually execute anything (like running new migrations). The
deploy_with_migrations task does the normal deploy, but also runs
migrations as part of it. (Not recommended for migrations that take
more than a few seconds to run, though.)

  • Jamis

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs