IntelliJ IDEA 2017.2 Help

Configuring Ruby SDK

This feature is supported in the Ultimate edition only.

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

In this section:


In IntelliJ IDEA, you can define several Ruby SDKs. So doing, you can choose the one to be used in your project, from the list of the interpreters available on your machine.

IntelliJ IDEA supports:

  • Standard Ruby SDKs
  • IronRuby
  • MacRuby

Ruby SDKs can be configured on the following levels:

  • Current project: selected Ruby interpreter will be used for the current project.

    Configuring Ruby SDK on this level is described below.

  • New project: selected Ruby interpreter will be used for the new project instead of the default one.

    Refer to the section Creating Rails-Based Projects for details.

Configuring Ruby SDK for the selected project

To configure Ruby SDK for the current project, follow these steps:

  1. Open the Project Structure dialog, and click Gems tab.
  2. If all the desired Ruby SDKs are already installed and added to your project, select one from the list of Ruby SDKs. To do that, click the radio button to the left of the desired Ruby SDK, or press Space:
    ij list of ruby sdk

    If the desired Ruby SDK is missing from the list of available SDKs, click add.

  3. Apply changes.
Last modified: 29 November 2017

See Also