RubyMine 2019.3 Help


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 Tools | Capistrano | Capify application. RubyMine will create the following files:
    • Capfile in the project root directory

    • deploy.rb file under the config directory

Run Capistrano tasks

  1. From the main menu, go to Tools | Capistrano| Run capistrano task.

  2. 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:

  3. Select the desired task from the suggestion list, and press Enter.

  4. In the Execute '<Capistrano task>' dialog specify the script arguments, if any, and select the desired environment from the list.
    If necessary, enable the --trace option 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.

Last modified: 5 December 2019