RubyMine 2016.2 Help

Running Applications

On this page:

Introduction

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 a list of all currently running applications, select Run | Show Running List from the main menu. Refer to the section Viewing Running Processes for details.

Running an application

To run an application

  • Do one of the following:
    • In the left gutter, click the icon run, and choose the desired command.
    • On the main toolbar, select the desired run configuration, and:
      • Choose Run | Run from the main menu.
      • Click run.
      • Press Shift+F10.
    • Press Shift+Alt+F10, select the desired run configuration from the pop-up menu, and press Enter.
    rm_altShiftF10

    From this pop-up menu you can:

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

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

    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

To run a script with a temporary run/debug configuration

  1. Open the script in the editor and do one of the following:
    • In the left gutter, click the icon run, and choose the desired command.
    • Choose Run <name> on the context menu
    • Press Ctrl+Shift+F10
  2. Select the class in the Project tool window and choose Run <method name > on the context menu of the selection.
rm_runScript

See Also

Last modified: 30 November 2016