RubyMine 7.1.3 Help

Configuring Ruby SDK

In this section:


In RubyMine, 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.

RubyMine supports:

  • Standard Ruby SDKs
  • IronRuby
  • MacRuby

Ruby SDKs can be configured on the following levels:

Configuring Ruby SDK for the selected project

To configure Ruby SDK for the current project

  1. Open the Settings dialog box, and click Ruby SDK and Gems.
  2. If there is more than one project opened in the same window, select the one you want to define a Ruby SDK for.
  3. If all the desired Ruby SDKs are already installed and added to your project, select one from the list of Ruby SDKs.

    If the desired Ruby SDK is missing from the list of available SDKs, click add:

  4. If you are using JRuby, select version from the Language level drop-down list:
  5. In the Installed Gems section, RubyMine displays the list of gems that are currently installed on your computer. For each of the installed gems, you can view its version and description.

    Note that RubyMine smartly renders gems' documentation.

    If some gems are missing, or outdated, click add or refresh buttons. Refer to the section Resolving References to Missing Gems.

  6. Apply changes.

See Also

Last modified: 27 June 2015