This feature is only supported in the Ultimate edition.

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

To configure a local ruby interpreter, follow these steps:
  1. Open the Project Structure dialog (e.g. Ctrl+Shift+Alt+S).
  2. In the Project Structure dialog, click the node Modules.
  3. In the Gems tab, click images/new.png, and from the popup menu, choose New local...:

    images/ij_add_local_ruby_interpreter.png

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