RubyMine 2019.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.

Projects pane

Item

Description

Projects

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

Ruby SDKs pane

Item

Shortcut

Description

Ruby interpreter

Use 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.

the Add buttonAlt+Insert

Click 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.

icons general remove svgAlt+Delete

Delete the currently selected Ruby SDK from the Settings/Preferences. For the gemsets this button is disabled.

icons actions expandall svgicons actions collapseall svgCtrl+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.

Ruby Gems pane

Item

Shortcut

Description

Gems

This 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.

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

folder

Click this button to view the gem local path in the Explorer/Finder.

web icon

Click this button to open web page with the gem description.

Last modified: 8 May 2019

See Also