RubyMine supports integration with the Capistrano and allows you to run its tasks. Before using Capistrano in RubyMine, make sure that the Capistrano gem is added to the project Gemfile and installed to the project SDK.
Capify the application
From the main menu, go to. RubyMine will create the following files:
Capfile in the project root directory
deploy.rb file under the config directory
Run Capistrano tasks
From the main menu, go to.
In the popup, start typing the task name, or its part. RubyMine shows the list of matching Capistrano tasks. If you want to see all the available tasks, including those without description, select the checkbox Include undocumented:
Select the desired task from the suggestion list, and press Enter.
In the Execute '<Capistrano task>' dialog specify the script arguments, if any, and select the desired environment from the list.
If necessary, enable the
--traceoption by selecting the Full backtrace checkbox. This option is the same as in the Capistrano run/debug configuration; as soon as this option is set in the run configuration dialog, it is also set in the Run Capistrano Task dialog, and vice versa.