In this section:
- Viewing the list of available interpreters
- Configuring the list of available interpreters
- Project Interpreters dialog box
- Auto-detecting interpreters
- Removing interpreters from the list
The list of Ruby SDKs, available for the various projects, can include interpreters installed locally or remotely .
Viewing the list of available interpreters
Configuring the list of available interpreters
- Open the project settings, and click Ruby SDK and Gems page.
- Click Add SDK.
- From the drop-down list, select whether you want to add an interpreter from your local computer , or the one located remotely . />
- The next step depends on the selected interpreter location.
- When an interpreter is added, it is included in the list of available interpreters.
- Apply changes.
The Project Interpreters dialog features the toolbar with the following buttons:
|Icon||Tooltip and shortcut||Description|
Alt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+InsertAlt+Insert or Ctrl+NAlt+InsertShift+Meta+N, Ctrl+N or Ctrl+EnterCommand N or Control EnterControl N or Control EnterCommand 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.|
Alt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteAlt+DeleteMeta+DeleteCommand DeleteCommand DeleteCommand DeleteCommand Delete
|Click this button to remove the selected interpreter from the list of available interpreters.|
|Click this button to change the name and path of the selected interpreter.|
|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.|
|Show paths for the selected interpreter||Click this button to show the list of paths for the selected interpreter.|
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:
- virtual environment:
The ability to automatically detect interpreters depends on the platform. RubyMine looks for the interpreters and virtual environments in the following locations:
- C:\\Program Files\PythonXX
- OS X:
Removing interpreters from the list
- In the drop-down list of interpreters , select the one to be deleted.
- Click Remove SDK.