RubyMine 2016.3 Help

Ruby SDK and Gems

File | Settings | Ruby SDK and Gems

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

In this section:

Projects pane

ItemDescription
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

ItemShortcutDescription
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 Configuring SDK Gemsets for details.
/help/img/idea/2016.3/new.pngAlt+InsertClick this button to select the desired Ruby interpreter (ruby.exe in Windows environment, or ruby in Linux or OS X ) in the dialog that opens. The selected SDK will be added to the list of available Ruby SDKs.
/help/img/idea/2016.3/delete.pngAlt+DeleteDelete the currently selected Ruby SDK from the Settings/Preferences. For the gemsets this button is disabled.
/help/img/idea/2016.3/expandAll.png/help/img/idea/2016.3/collapse_all.pngCtrl+NumPad PlusCtrl+NumPad -Use these buttons to expane or collapse all nodes.
/help/img/idea/2016.3/edit_path_mapping_icon.pngUse this button to edit path mapping of the remote interpreters.

Ruby Gems pane

ItemShortcutDescription
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:

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

See Also

Last modified: 30 November 2016