RubyMine 2017.3 Help

Running and Rerunning Applications


RubyMine enables running entire applications as well as particular scripts.

RubyMine makes use of the settings defined in a Run/Debug Configuration. All the run configurations that exist in a project, are available in the Select Run/Debug Configuration drop-down list.

rm runConfigMenuSelect

If you want to see the list of all currently running applications, select Run | Show Running List from the main menu. Refer to the Viewing Running Processes section for details.

Note that after you've started a run session, the run icon that marks the Run tool window and in the Run/Debug Configuration Selector toggles to active run icon to indicate that the run process is active.

Running a script

  • Choose Run | Run on the main menu or press Shift+Alt+F10, and then select the desired run/debug configuration.

    This way it's possible to run any available run/debug configuration - one has to choose the desired run/debug configuration from the pop-up menu that shows all the run/debug configurations, existing in a project.

    rm run popup

    See Using the Run pop-up menu for details.

  • Choose Run <name> on the context menu:
    rm run context menu
  • Press Ctrl+Shift+F10.
  • Select the desired class in the Project tool window and choose Run <name > on the context menu of the selection.
    rm run from project tool window

Invoke the Run pop-up menu either by choosing the Run | Run command on the main menu, or by pressing Shift+Alt+F10.

rm altShiftF10

From this pop-up menu that you can:

  • Invoke the Edit Configuration dialog.
  • Edit the selected configuration before launch (F4).
  • Instantly delete a configuration (Delete).
  • Switch from run to debug and vice versa (hold Shift).
  • Access a previously selected configuration (1).

This pop-up menu can also be quickly accessed by pressing F9, when you're not running any debug session.

Rerunning applications

  1. In the Run window, select the tab where the desired application is opened.
  2. In the toolbar of the Run window, click the Rerun button rerunConsole, or press Ctrl+F5.
Last modified: 4 April 2018

See Also