# Configure a Ruby interpreter

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/ruby/2026.3/llms.txt).

> **TL;DR**
> Configure: `Settings | Languages & Frameworks | Ruby`

To work with your Ruby code in RubyMine, you need to configure at least one Ruby interpreter. RubyMine uses the interpreter selected in `Settings | Languages & Frameworks | Ruby`  to run your code, resolve gems, and provide code insight.

When you open a project for the first time, RubyMine can [select the interpreter automatically](#automatic_ruby_interpreter_selection) based on the Ruby version specified in the project files. You can also [select or change the interpreter manually](#select_ruby_interpreter) at any time.

Configuration of the Ruby interpreter depends on the way you [installed it](set-up-a-ruby-development-environment.html#ruby):

* If you installed Ruby using a [version manager](ruby-version-managers.html) or Homebrew (on macOS or Linux), RubyMine detects interpreters automatically. In this case, you can [select the desired version](#select_ruby_interpreter).

* If you installed Ruby using other package managers (such as apt for Ubuntu) or a Ruby installer (for example, RubyInstaller for Windows), you need to [add it manually](#add_local_ruby_interpreter).

* If you [installed Ruby directly from RubyMine](creating-and-running-your-first-language-project.html#create_empty_app), the installed interpreter is set as the default for the current project.

* If your project is stored in WSL or opened in a Dev Container in [Native mode](how-to-use-wsl-development-environment-in-product.html#native_mode), RubyMine uses [native interpreters](#native_ruby_interpreters) and detects Ruby installed in that environment automatically.

* If you are using Ruby installed in an isolated environment, such as Docker or a remote machine available over SSH, RubyMine allows you to configure it as a [remote interpreter](#add_remote_ruby_interpreter).

## Automatic interpreter selection for new projects

When you open a project for the first time (for example, a project without the `.idea` directory), RubyMine reads the required Ruby version from the project files and compares it with the interpreters listed in `Settings | Languages & Frameworks | Ruby` . This list includes interpreters that RubyMine detects on your computer (for example, those installed with Homebrew, rbenv, RVM, asdf, or mise) and interpreters that you [added manually](#add_local_ruby_interpreter).

### How RubyMine determines the required version

RubyMine looks for a required Ruby version in the following order and uses the first one it finds:

1.

Version manager files, such as `.ruby-version`, `.tool-versions` (asdf, mise), or `.versions.conf` (RVM).

2.

The `ruby` directive in `Gemfile` or `gems.rb`. It supports exact versions (`ruby "3.3.1"`), bounds (`ruby ">= 3.1.0"`), and pessimistic constraints (`ruby "~> 3.3"`).

### How the interpreter is selected

| Condition | RubyMine action |
| --- | --- |
| One interpreter matches |    RubyMine selects it for the project.    |
|  Several interpreters match  |     RubyMine does not select an interpreter and displays the Found configuration issues notification so that you can choose one manually.     |
| No interpreter matches |     RubyMine does not select an interpreter and displays a notification with the required version. You can choose to have it installed for you or to configure it manually.     |
| No version is specified |    RubyMine selects the latest installed Ruby.    |

### Disable automatic selection

Automatic selection is enabled by default. To turn it off, go to `Settings | Languages & Frameworks | Ruby` and clear the Automatically select Ruby interpreter for new projects checkbox.

![Automatic interpreter selection](https://resources.jetbrains.com/help/img/idea/2026.3/rm_auto_select_ruby_interpreter.png)

> **Tip:**
> For more information about supported Ruby versions, refer to [Supported technology versions](supported-ruby-versions.html) [this page](https://www.jetbrains.com/help/ruby/supported-ruby-versions.html).

## Add a local interpreter

Procedure: Add an interpreter

1. Open the Settings dialog `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)).

2. On the Ruby page, click the ![add](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.add.svg) button and select Interpreter:

![New local interpreter](https://resources.jetbrains.com/help/img/idea/2026.3/rm_add_local_ruby_interpreter.png)

3. Provide a path to the Ruby executable, for example:

* `/usr/bin/ruby` for Ruby installed on Linux using apt.

* `C:\Ruby33-x64\bin\ruby.exe` for Ruby installed on Windows using RubyInstaller.

RubyMine will display the added interpreter along with automatically detected interpreters.

To remove the interpreter from the list, select it, and click the ![remove](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.remove.svg) button.

> **Tip:**
> Click ![](https://resources.jetbrains.com/help/img/idea/2026.3/app-client.general.inspectionsEye.svg) to display paths to interpreters in the list.

Procedure: Add an interpreter with custom environment

RubyMine allows you to use your custom environment for running any Ruby command from within RubyMine. To do this, you need to provide environment variable values or a path to a configuration script when adding a local interpreter.

1. Open the Settings dialog `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)).

2. On the Ruby page, click the ![add](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.add.svg) button and select Interpreter with Custom Environment:

3. In the invoked dialog, provide a path to the Ruby executable as described in [Add an interpreter](#add_local). Then, configure the Custom environment in one of the following ways:

* Specify the environment variable values directly. Example: `env API_KEY=123`

* If you use a shell script to load environment variables, you need to provide an absolute path to this script. Example: `/bin/bash /Users/jetbrains/sample_app/env.sh` > **Tip:** > Note that the `*.sh` file should have `"$@"` at the end to allow RubyMine to pass some commands required for adding an interpreter.

* If you use [direnv](https://github.com/direnv/direnv) to load and unload environment variables, pass a path to the directory with the `.envrc` file to the `direnv exec` command. Example: `direnv exec /Users/jetbrains/sample_app`

* If you use [Shadowenv](https://github.com/Shopify/shadowenv) to customize your project environment, pass a path to the project directory to the `shadow exec` command. Example: `shadowenv exec --dir /Users/jetbrains/sample_app --`

Click OK to add an interpreter.

4. Select the added interpreter and click OK in the Settings dialog.

> **Note: Limitations**
> Interpreters with a custom environment do not support Ruby version managers. Do not combine a custom environment with interpreters managed by: rbenv. rvm, asdf, etc.
>
>
>
>
>
> Use either a version-manager-managed interpreter or an interpreter with a custom environment.
>
>
>
>
>
> If you need both, use a wrapper script that configures the environment and launches Ruby through the version manager.

## Select an auto-detected interpreter

Procedure: Select an interpreter on the Ruby page

To select an auto-detected Ruby interpreter maintained by the version manager, follow the steps below:

1. Invoke the Settings dialog `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) and go to the Ruby page.

2. Choose the required Ruby interpreter. You can also choose the gemset for the RVM and rbenv version managers.

![Ruby page](https://resources.jetbrains.com/help/img/idea/2026.3/rm_local_sdk_gems_page.png)

3. For the selected Ruby interpreter/gemset, you can see the installed gems on the right. Learn more about Ruby gems support at [Bundler](using-the-bundler.html).

> **Tip:**
> If you have issues with detecting local Ruby interpreters maintained by your version manager, follow the steps from [Debug Ruby interpreter detection](ruby-version-managers.html#how_debug_detection).

Procedure: Switch an interpreter using Run Anything

If you use RVM or rbenv to manage local Ruby interpreters, you can quickly set the required interpreter using [Run Anything](running-anything.html):

1. Press `Ctrl` (Windows), `Ctrl` (macOS), `Ctrl` (IntelliJ IDEA Classic (macOS)), `Ctrl` (macOS System Shortcuts), `Ctrl` (XWin), `Ctrl` (GNOME), `Ctrl` (KDE), `Ctrl` (Emacs), `Ctrl` (Sublime Text), `Ctrl` (Sublime Text (macOS)), `Ctrl` (Visual Studio), `Ctrl` (Visual Studio (macOS)), `Ctrl` (TextMate), `Ctrl` (NetBeans), `Ctrl` (Eclipse), `Ctrl` (Eclipse (macOS)) twice.

2. In the invoked popup, start typing `rvm use` or `rbenv shell`, select the required interpreter and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (TextMate), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)).

3. (Optional) If necessary, click the Rollback button in the popup that informs about the changed interpreter.

> **Tip:**
> Note that RubyMine supports [suggesting an
> interpreter/gemset](ruby-version-managers.html#ruby_switch) based on the project files.

## Use native interpreters in WSL and Dev Containers

Native interpreters run Ruby installed in WSL or in a Dev Container that is opened in Native mode. For RubyMine, they work like local interpreters: Ruby installed in the environment is detected automatically, and you add other interpreters in the same way as [local ones](#add_local_ruby_interpreter). You do not need to configure path mappings.

* WSL: native interpreters are enabled by default for new users. If you already have configured remote WSL interpreters, RubyMine keeps them, and you can switch to native interpreters at any time.

* Dev Containers: in Dev Containers opened in [Native mode](open-project-with-dev-container-natively.html), native interpreters are always enabled. No additional Ruby settings are required.

Procedure: Switch to native interpreters in a WSL project

If you already have configured remote WSL interpreters, you can enable native interpreters manually:

1. [Open a project](how-to-use-wsl-development-environment-in-product.html#open-a-project-in-wsl) stored in the WSL file system.

2. Open the Settings dialog `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) and go to the Ruby page.

3. Select Enable native WSL interpreters.

RubyMine lists the Ruby interpreters installed in WSL and adds native versions of your previously configured remote WSL interpreters. The interpreter that you used last is selected.

4. Click OK.

![Enbaling native WSL interpreters](https://resources.jetbrains.com/help/img/idea/2026.3/rm_enabling_native_wsl.png)

To return to [remote interpreters](#add_remote_ruby_interpreter), clear the Enable native WSL interpreters checkbox. The setting applies to all projects stored in WSL.

> **Note:**
> In a project stored in WSL, you can use only interpreters from WSL. Windows, Docker, and SSH interpreters are not available. To use them, store the project in the Windows file system.

## Add a remote interpreter

> **Note:**
> For projects stored in WSL or opened in a Dev Container, use [native interpreters](#native_ruby_interpreters) instead of remote ones. Remote interpreters continue to work and remain available during the transition to native interpreters.
>
>
>
> For projects located on remote machines, consider using [Remote Development](remote.html) instead of remote interpreters. With Remote Development, the IDE backend runs on the remote machine and supports all IDE features.

Various remote development tools, such as Docker, SSH, or Windows Subsystem for Linux (WSL), allow you to use an isolated environment for developing your applications. This can be useful in multiple cases, for example, if you want to:

* Develop in an isolated environment to avoid impacting your local machine configuration.

* Run, debug, and test your application on the same operating system you deploy.

* Develop Linux-deployed applications using the Windows Subsystem for Linux.

You can prepare the required Ruby or Rails setup in a remote environment using Docker, Docker Compose, a remote machine available over SSH, or WSL. Then, you can add the [remote Ruby interpreter](#add_remote_ruby_interpreter) in RubyMine and [run](running-applications.html), [debug](debugging-code.html), and [test](performing-tests.html) your application in an isolated environment right from the IDE.

Note that when you are using a remote interpreter, RubyMine downloads gems from a remote machine to a local cache to be able to use code insight features. In this case, you may encounter a situation when new gems were installed on a remote machine outside the IDE. To update a set of gems stored in a local cache, click the Synchronize gems ![Synchronize gems](https://resources.jetbrains.com/help/img/idea/2026.3/app.actions.download.svg) button in the Ruby Interpreters page.

To configure a remote Ruby interpreter, follow these steps:

Procedure:

1. On the toolbar, click ![add](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.add.svg), and choose Remote Interpreter or Version Manager.

![New remote interpreter](https://resources.jetbrains.com/help/img/idea/2026.3/rm_add_remote_ruby_interpreter.png)

2. In the Configure Remote Ruby Interpreter dialog, perform the steps provided on the respective tab below.

SSH:

> **Note: Prerequisite**
> Before performing the steps below, make sure you set up SSH and added an SSH configuration. Find more details in [this
> topic](running-ssh-terminal.html).

Procedure:

1. Specify the following options:

![Configure remote ruby interpreter: SSH](https://resources.jetbrains.com/help/img/idea/2026.3/rm_remote_attach_ssh_credentials.png)

* SSH configuration: Expand the list of existing SSH configurations or click the ellipsis button and create a new one.

* Ruby or version manager path: Specify the path to the Ruby interpreter or the [version manager](ruby-version-managers.html) executable.

2. Click OK. If you specified a path to the version manager executable on the previous step, RubyMine suggests selecting the Ruby interpreter used to run a remote application.

3. On the Ruby page, select the added interpreter and click OK.

Docker:

> **Note: Prerequisite**
> Before performing the steps below, make sure you have built a Docker image. Find more details in [this topic](docker-images.html#build-image)

Procedure:

1. In the invoked dialog, select Docker and specify the following options:

![Configure remote Ruby interpreter: Docker](https://resources.jetbrains.com/help/img/idea/2026.3/docker_tutorial_configure_remote.png)

* Server: Specify a Docker server used to run a container.

* Image name: Select the [previously built image](docker-images.html#build-image).

* Ruby or version manager path: Leave the default `ruby` value to detect a path to the Ruby interpreter automatically.

2. Click OK. If you specified a path to the version manager executable on the previous step, RubyMine suggests selecting the Ruby interpreter used to run a remote application.

The added interpreter is now available on the Ruby page.

![Ruby Interpreter: Docker](https://resources.jetbrains.com/help/img/idea/2026.3/docker_tutorial_ruby_sdk_page.png)

3. Select the added interpreter and click OK in the Ruby Interpreters dialog.

Wait until RubyMine finishes the project analysis process and creates helper Docker images and containers.

![Docker tool window](https://resources.jetbrains.com/help/img/idea/2026.3/docker_tutorial_dockerfile_tool_window_add_interpreter.png)

> **Note:**
> Ruby helpers are additional containers and Docker images that RubyMine creates for testing and debugging purposes. They contain gems and `.rb` scripts that RubyMine uses to prepare the test environment, convert the output of test libraries (for example, Minitest, RSpec, Cucumber), launch tests, and so on.

Docker Compose:

> **Note: Prerequisite**
> Before performing the steps below, make sure you built a Docker Compose application. Find more details in [this
> topic](docker-compose.html#create-docker-compose-run-configuration).

Procedure:

1. In the invoked dialog, select Docker Compose and specify the following options:

![Configure remote Ruby interpreter: Docker Compose](https://resources.jetbrains.com/help/img/idea/2026.3/docker_tutorial_configure_remote_compose.png)

* Server: this option specifies a Docker server used to run a container.

* Configuration files: leave the `docker-compose.yml` file.

* Service: select the web service.

* Environment variables: Normally, does not need to be changed. If you do want to customize them, click the Edit environment variables icon to open the Environment Variables dialog. You can either add a new variable (click the + icon) or edit system environment variables, which are included by default. ![Edit environment variables](https://resources.jetbrains.com/help/img/idea/2026.3/rm_docker_compose_edit_variables.png)

* Node.js runtime path: Leave the default `ruby` value to detect a path to the Ruby interpreter automatically. You can also manually specify the path to the interpreter or the [version manager](ruby-version-managers.html) executable.

2. Click OK. If you specified a path to the version manager executable on the previous step, RubyMine suggests selecting the Ruby interpreter used to run a remote application.

The added interpreter is now available on the Ruby page.

![Ruby Interpreters: Docker Compose](https://resources.jetbrains.com/help/img/idea/2026.3/docker_tutorial_ruby_sdk_page_compose.png)

3. Select the added interpreter and click OK in the Ruby Interpreters dialog.

Wait until RubyMine finishes the project analysis process and creates helper Docker images and containers.

![Docker tool window: Helpers](https://resources.jetbrains.com/help/img/idea/2026.3/docker_tutorial_compose_tool_window_helpers.png)

> **Note:**
> Ruby helpers are additional containers and Docker images that RubyMine creates for testing and debugging purposes. They contain gems and `.rb` scripts that RubyMine uses to prepare the test environment, convert the output of test libraries (for example, Minitest, RSpec, Cucumber), launch tests, and so on.

Procedure: (Optional) Edit mappings between local and remote project files

Native interpreters do not require mappings.

1. Specify mappings between files of a local and remote project. To do this, click the ![Edit Path Mappings](https://resources.jetbrains.com/help/img/idea/2026.3/app.vcs.folders.svg) button.

![Edit path mappings](https://resources.jetbrains.com/help/img/idea/2026.3/rm_edit_path_mappings.png)

2. In the Edit Project Path Mappings dialog, specify the local and remote project root paths.

![Edit Project Path Mappings](https://resources.jetbrains.com/help/img/idea/2026.3/rm_remote_attach_path_mappings.png)

Note that RubyMine detects Vagrant [synced folders](https://www.vagrantup.com/docs/synced-folders/), WSL mappings, and so on. These mappings are listed in this dialog and cannot be changed.

> **Tip:**
> By default, RubyMine installed on Linux or macOS downloads [remote gems](using-the-bundler.html#install_gems_remote) using the rsync utility. This speeds up the downloading process. You can change the default behavior and disable the use of rsync by utilizing the RubyMine registry. To invoke the Registry dialog, press   `Ctrl+Shift+A` (Windows), `⌘ ⇧ A` (macOS), `⌘ ⇧ A` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ P` (macOS System Shortcuts), `Ctrl+Shift+A` (XWin), `Ctrl+Shift+A` (GNOME), `Ctrl+Shift+A` (KDE), `Escape, X` (Emacs), `Ctrl+Shift+P` (Sublime Text), `⌘ ⇧ P` (Sublime Text (macOS)), `Ctrl+Shift+A` (Visual Studio), `⌘ ⇧ A` (Visual Studio (macOS)), `Meta+Shift+A` (TextMate), `Ctrl+I` (NetBeans), `Ctrl+Shift+A` (Eclipse), `⌘ 3` (Eclipse (macOS)) or choose `Help | Find Action` from the main menu. In the popup that opens, start typing `Registry`, select the corresponding item and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (TextMate), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)).   Then, use the following options to enable or disable rsync:
>
>
>
> * Linux and macOS: `ide.remote.interpreters.use.rsync`
>
> * Windows: `ide.remote.interpreters.rsync.enabled.on.windows`

## Edit an interpreter

You can customize the names of Ruby interpreters to distinguish them quickly and avoid duplication.

Procedure:

1. Open the Settings dialog `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) and go to the Ruby page.

2. Right-click the required Ruby interpreter and select Edit name.

![Rename parameter in code and Ruby interpreter](https://resources.jetbrains.com/help/img/idea/2026.3/rm_edit_interpreter.png)

Alternatively, you can select the required Ruby interpreter and use the ![](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.edit.svg) icon or press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (TextMate), `Enter` (NetBeans), `Enter` (Eclipse), `⏎` (Eclipse (macOS)).

3. In the Edit interpreter dialog, provide a new name for the interpreter and click OK.

![Enter a new name for the Ruby interpreter](https://resources.jetbrains.com/help/img/idea/2026.3/rm_edit_interpreter_dialog.png)

## Create RVM gemsets

To create an RVM gemset, open the Settings dialog (`Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Meta+Comma` (TextMate), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS))), go to Language & Frameworks | Ruby, and perform the following steps:

Procedure:

1. Right-click the required interpreter and select New RVM gemset

![Ruby Interpreters page](https://resources.jetbrains.com/help/img/idea/2026.3/rm_gemsets_rvm_sdk_page_example_initial.png)

2. In the dialog that opens, select the Ruby interpreter, for which the gemset will be created. Then, specify the gemset name and click OK:

![create new rvm gemset dialog](https://resources.jetbrains.com/help/img/idea/2026.3/rm_gemsets_rvm_sdk_page_new_gemset_dialog.png)

3. The Ruby Interpreters  page will show the gemset as a child of the selected interpreter:

![Ruby Interpreters page](https://resources.jetbrains.com/help/img/idea/2026.3/rm_gemsets_rvm_sdk_page_created_asterisk.png)

Note that the asterisk is appended to the gemset name. This means that gemset is not created yet. To create it, click Apply or OK in the Settings dialog.

## Remove an interpreter

> **Note:**
> You can only remove interpreters that you manually added to the Ruby Interpreters list.
>
> Automatically detected interpreters
>
> The IDE UI does not allow you to remove the following:
>
>
>
> * Automatically detected interpreters (system Ruby, rbenv, rvm, asdf, etc.)
>
> * Interpreters created using a custom environment together with a Ruby version manager

Procedure:

1. Go to `Settings | Languages & Frameworks | Ruby`

2. From the list of interpreters, select the manually added interpreter you want to remove.

3. Click the ![remove](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.remove.svg) button from the toolbar on top of the Ruby page.

![Removing an added interpreter](https://resources.jetbrains.com/help/img/idea/2026.3/rm_remove_interpreter.png)

4. Click OK in the invoked dialog.

## See also

### Concepts

