IntelliJ IDEA 2018.3 Help

Configuring Ruby SDK

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 (Ctrl+Shift+Alt+S), 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 icons general add.

  3. Apply changes.

Last modified: 14 December 2018

See Also