RubyMine 5.4.0 Web Help

2.0+

File | Settings | Project Settings | Ruby SDK and Gems

RubyMine | Preferences | Project Settings | Ruby SDK and Gems

Use this page to configure Ruby interpreter and gems.

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

Note

  • 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 gem sets. The name of a gem set is specified in square brackets next to the SDK name. Refer to RVM Support for details.
  • For non-*nix platforms, click the browse button to reveal the list of Ruby interpreters that are included in the PATH variable, but has not yet been added to your project.
Language levelUse this field to view the language level of the selected Ruby interpreter, or change it for JRuby.
2.0.2+RVM Gemset View the name of the selected gem set. Refer to RVM Support.

Warning

This read-only field is only available for Linux and MacOS.

Ignore global gempath Select this check box to use personal gem path only. If this check box is not selected, RubyMine will use both global and local gem paths. Refer to RVM Support.

Warning

This check box is only available for Linux and MacOS.

Add SDKClick 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.
Remove SDKDelete the currently selected Ruby SDK from the project.
GemsThis section contains the list of gems used in the current project, and access to the Gem Manager. For each gem, the following information is displayed: version, authors, local gem root, email, homepage, and documentation.
Note RDoc syntax highlighting.
Install GemsClick this button to open the gem manager for the gems in remote repositories, and install selected gems locally. Refer to the section Installing and Uninstalling Gems.
Update GemsClick this button to open the gem manager for the locally installed or attached gems, and update selected gems to the desired version. Refer to the section Updating Local Gems.

See Also

Procedures:

Language and Framework-Specific Guidelines:

Reference:

Web Resources: