IntelliJ IDEA 2017.3 Help

Keymap:

Running Rails Console

This feature is only supported in the Ultimate edition.

The following is only valid when Ruby Plugin is installed and enabled!

If you are used to working in the Rails console, you can do it without leaving IntelliJ IDEA. The console provides syntax highlighting, and commands history. Once started, the Rails console opens in a separate tab in the Run tool window. Note that you can launch as many Rails consoles as required.

To launch the Rails console

On the main menu, choose Tools | Run Rails console.

In the Select Rails Environment dialog box, select the desired environment from the drop-down list, and click OK.

IntelliJ IDEA provides a dedicated run/debug configuration for consoles. When a console is launched, it is done via the corresponding temporary run/debug configuration. You can save such configuration as permanent for further use.

For the techniques of working with the console, refer to the section Using Consoles.