RubyMine 2017.1 Help

Ruby SDK and Gems

File | Settings | Ruby SDK and Gems for Windows and Linux
RubyMine | Preferences | Ruby SDK and Gems for macOS

Use this page to configure Ruby interpreter and gems for a currently selected project.

In this section:

Projects pane

ProjectsThis pane displays the list of projects, opened in the same window. The first project in the list is the primary project.

Ruby SDKs pane

Ruby interpreterUse this drop-down list to select Ruby executable file to be used with the current project, from the list of Ruby SDKs, which have already been added to the project.

Please note the following:

  • RubyMine looks for the scripting gem (gem, or, in case of Ruby 1.9, gem19) in the same directory where the Ruby interpreter is located. If this gem is located in a different directory, an error message is displayed, suggesting to download and install gems for the specified SDK.
  • For *nix platforms, the list shows Ruby SDKs together with their gemsets. Refer to the dialog description and the section Configuring SDK Gemsets for details.
/help/img/idea/2017.1/add.pngAlt+InsertClick this button to select the desired Ruby interpreter (ruby.exe in Windows environment, or ruby in Linux or macOS ) in the dialog that opens . The selected SDK will be added to the list of available Ruby SDKs.
/help/img/idea/2017.1/delete.pngAlt+DeleteDelete the currently selected Ruby SDK from the Settings/Preferences. For the gemsets this button is disabled.
/help/img/idea/2017.1/expandAll.png/help/img/idea/2017.1/collapse_all.pngCtrl+NumPad Plus
Ctrl+NumPad -
Use these buttons to expand or collapse all nodes.
/help/img/idea/2017.1/edit_path_mapping_icon.pngUse this button to edit path mapping of the remote interpreters.

Ruby Gems pane

GemsThis section contains the list of gems used in the selected SDK.

For *nix platforms, this section contains also the list of gems available for the selected gemset.

If you select an SDK, you'll see see all the gems available for the current project with that version. So doing, the gems of all gemsets are selected for the SDK in question.

Speed search also work for the gems: just type a string, and speed search shows the matching entries only:


Refer to the sections Configuring SDK Gemsets and Create New RVM Gemset for details.

/help/img/idea/2017.1/folder.pngClick this button to view the gem local path in the Explorer/Finder.
/help/img/idea/2017.1/web_icon.pngClick this button to open web page with the gem description.

See Also

Last modified: 23 March 2017