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:
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|
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
/home/jetbrains/.rbenv/bin/rbenv (for the jetbrains user)
/home/jetbrains/.asdf/bin/asdf (for the jetbrains user)