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:
Ruby SDKs can be configured on the following levels:
- Current project: selected Ruby interpreter will be used for the current
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:
- Open the Project Structure dialog, and click Gems tab.
- 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 .
- Apply changes.