RubyMine 2018.1 Help

Ruby SDK and Gems

File | Settings | Languages and Frameworks | Ruby SDK and Gems for Windows and Linux
RubyMine | Preferences | Languages and Frameworks | 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.

This pane is not shown, if there is only one open 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.
addAlt+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.
deleteAlt+DeleteDelete the currently selected Ruby SDK from the Settings/Preferences. For the gemsets this button is disabled.
expandAllcollapse allCtrl+NumPad Plus
Ctrl+NumPad -
Use these buttons to expand or collapse all nodes.
edit path mapping iconUse this button to edit path mapping of the remote interpreters.

This button shows up for the remote interpreters only!

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:

rm quick search gems

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

folderClick this button to view the gem local path in the Explorer/Finder.
web iconClick this button to open web page with the gem description.
Last modified: 19 January 2018

See Also