IntelliJ IDEA 2016.3 Help

Configuring Ruby SDK

This feature is supported in the Ultimate edition only.

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:

    If the desired Ruby SDK is missing from the list of available SDKs, click /help/img/idea/2016.3/add.png.

  3. Apply changes.

See Also



Last modified: 21 March 2017