Capistrano - how to deploy to QA site *or* production site?

I have been tentatively playing with Capistrano, but I like to develop
on a laptop on the move, then I have a test site on the live machine
which I use for pre-testing to ensure that the environment is all ok
with the new changes and then finally I deploy to the final production
site (actually I have three similar sites which use the same code base
so I want to choose which of them to deploy to)

How do I achieve the above with Capistrano?


Ed W

Hi Ed,

afaik there is no built-in notion of staging or Q/A in capistrano. It’s
quite easy to achieve this though, have a look over there for examples:

if you have more questions, you’ll get more accurate answers if you send
your questions to




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