IntelliJ IDEA 2017.3 Help

Running Rails Server

This feature is supported in the Ultimate edition only.

For each Rails application project, IntelliJ IDEA provides default Rails run/debug configurations for the production and development environments.

IntelliJ IDEA supports a number of Rails servers (Mongrel, WEBrick, Phusion Passenger, etc., depending on the specific platform).

Rails server runs in the dedicated tab of the Run tool window, named after the respective run/debug configuration. So doing, the server output is displayed in the Console tab, and the other information is displayed in the Server <environment type> log tab:

/help/img/idea/2017.3/rm_railsServerRunning.png

To run a Rails server

  1. Press Shift+Alt+F10, and choose the desired Rails run/debug configuration type.
  2. If necessary, change the run/debug configuration settings. To do that, choose Edit configurations... in the Run popup menu, and choose the desired Rails configuration type.

    Rails run/debug configuration dialog box appears.

    In this dialog box, modify the desired settings. For example, IntelliJ IDEA suggests WEBrick as the default Rails server. You can select a different server from the list of supported servers.

  3. Click the /help/img/idea/2017.3/run.png button on the main toolbar.
Last modified: 11 October 2017

See Also

Reference:

Language and Framework-Specific Guidelines: