RubyMine 7.0.1 Web Help

In this section:

Overview

The list of Ruby SDKs, available for the various projects, can include interpreters installed locally or remotely .

Viewing the list of available interpreters

To view the list of available interpreters, do one of the following

Configuring the list of available interpreters

To configure the list of available interpreters, follow these general steps
  1. Open the project settings, and click Ruby SDK and Gems page.
  2. Click Add SDK.
  3. From the drop-down list, select whether you want to add an interpreter from your local computer , or the one located remotely . />
  4. The next step depends on the selected interpreter location.
  5. When an interpreter is added, it is included in the list of available interpreters.
  6. Apply changes.

Project interpreters dialog box

The Project Interpreters dialog features the toolbar with the following buttons:

Icon Tooltip and shortcut Description
add 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 choose the type of interpreter to be added: local, remote interpreter, or virtual environment.
delete Remove
Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+Delete⌘+Delete⌘ Delete⌘ Delete⌘ Delete⌘ Delete
Click this button to remove the selected interpreter from the list of available interpreters.
edit1 Edit
EnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnterEnter
Click this button to change the name and path of the selected interpreter.
filter.png Show virtual environments associated with the other projects If this button is not pressed, RubyMine shows the virtual environments associated with the current project only.
icon_show_paths Show paths for the selected interpreter Click this button to show the list of paths for the selected interpreter.

Auto-detecting interpreters

It is not necessary to configure all the interpreters or virtual environments. RubyMine can automatically detect them in certain locations. These automatically detected interpreters are denoted in the list by semi-transparent icons:

  • interpreter: python_interpreter_semitransparent
  • virtual environment: python_venv_semitransparent

The ability to automatically detect interpreters depends on the platform. RubyMine looks for the interpreters and virtual environments in the following locations:

  • Windows:
    • C:\\PythonXX
    • C:\\Program Files\PythonXX
    • PATH
    • WORKON_HOME
    • .virtualenv
  • *NIX:
    • /usr/local/bin/pythonX
    • /usr/bin/pythonX
    • PATH
  • OS X:
    • /Library/Frameworks/Python.framework/Version
    • /System/Library/Frameworks/Python.framework/Version
    • PATH

Removing interpreters from the list

To remove an interpreter from the list of available interpreters
  1. In the drop-down list of interpreters , select the one to be deleted.
  2. Click Remove SDK.

See Also

Concepts:

Web Resources: