Configure a Ruby interpreter

Last modified: 18 May 2021

Configure: Settings/Preferences | Languages & Frameworks | Ruby SDK and Gems

To work with a Ruby project in RubyMine, you need to configure the required Ruby interpreter. You can set the interpreter for the currently opened project or when creating a new project.

Configuring the Ruby interpreter depends on the way you installed it:

  • If you installed Ruby using a package manager (apt for Ubuntu, Homebrew for macOS, and so on) or Ruby installer (for example, RubyInstaller for Windows), you need to add it manually.

  • If you installed Ruby using a version manager, RubyMine should detect interpreters automatically. In this case, you can select the desired version.

  • If you are using Ruby installed in an isolated environment (Docker, Vagrant, WSL, and so on), RubyMine allows you to configure it as a remote interpreter.