if you're unfamiliar with Capistrano, it's best to take a look at their documentation first to become familiar with it as a tool: https://github.com/capistrano/capistrano/wiki
Our capistrano integration is bare-bones. We run you through a Web Deployment wizard, which will run "capify ." in the project root. This process generates a "config/deploy.rb" inside the project, which you can then edit and add tasks to. To access the Wizard, click the App Explorer's publish drop-down toolbar menu and select "Run Web Deployment Wizard..."