This feature is supported in Ultimate edition only.
The following is only valid when Ruby Plugin is installed and enabled!
- Open Project Structure dialog.
- In the Project Structure dialog, click the node Modules.
- In the Gems tab, click
, and from the popup menu, choose
New local...:

- In the Select Ruby Interpreter Path dialog box, click the desired Ruby executable.