RubyMine 2019.2 Help

Ruby version managers

RubyMine enables you to work with Ruby interpreters maintained by the following version managers:

All version managers are supported for Linux, MacOS, and Windows 10 through WSL.

If you have one of these version managers installed on your local machine, RubyMine automatically detects it and lets you switch between available Ruby interpreters (and gemsets for RVM and rbenv).

The screenshots below demonstrate the Ruby SDK and Gems page for various version managers:

Ruby SDK and Gems page for RVM
Ruby SDK and Gems page for rbenv
Ruby SDK and Gems page for chruby
Ruby SDK and Gems page for asdf

Learn how to configure the Ruby interpreter from these topics:

RubyMine also enables you to use remote Ruby interpreters maintained using these version manages. In this case, you have to specify a path to the version manager executable when configuring a remote interpreter. For instance, the following table lists typical paths for Linux.

Version manager

Executable path

RVM

Single-user mode: /home/jetbrains/.rvm/bin/rvm (for the jetbrains user)

Multi-user mode: /usr/local/rvm/bin/rvm

Mixed mode: /usr/share/rvm/bin/rvm

rbenv

/home/jetbrains/.rbenv/bin/rbenv (for the jetbrains user)

/usr/bin/rbenv

chruby

/usr/local/share/chruby/chruby.sh

asdf

/home/jetbrains/.asdf/bin/asdf (for the jetbrains user)

Last modified: 5 September 2019