RubyMine 7.0.1 Web Help

File | Settings | Ruby SDK and Gems

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

In this section:

6.0+

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.

This pane is not shown, if there is only one open 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 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 level Use this field to view the language level of the selected Ruby interpreter, or change it for JRuby.
2.0.2+RVM Gemset

Warning

This read-only field is only available for Linux and OS X.

View the name of the selected gem set. Refer to RVM Support.

Ignore global gempath

Warning

This check box is only available for Linux and OS X.

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.

add Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertShift+⌘+N, Ctrl+N or Ctrl+Enter⌘ N or Control EnterControl N or Control Enter⌘ N or Control EnterControl N or Control Enter Click 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.
delete Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+Delete⌘+Delete⌘ Delete⌘ Delete⌘ Delete⌘ Delete Delete the currently selected Ruby SDK from the project.

Ruby Gems pane

Item Shortcut Description
Gems This 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.
add Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertShift+⌘+N, Ctrl+N or Ctrl+Enter⌘ N or Control EnterControl N or Control Enter⌘ N or Control EnterControl N or Control Enter Click 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.
refresh Ctrl+F5Ctrl+F5Ctrl+5Ctrl+F5Ctrl+F5Ctrl+Alt+RCtrl+F5Ctrl+F5Ctrl+Alt+R⌘ RControl F5⌘ RControl Alt R Click 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: