On this page:
rvm is intended for *NIX and macOS!
IntelliJ IDEA supports
rvm versions up to the latest.
At startup, IntelliJ IDEA scans your
~/.rvm folder or
/usr/local/rvm folder, and automatically configures SDK's for each Ruby interpreter and gemset pair. The detected interpreters and gemsets are shown in the Modules page of the Project Structure Dialog dialog. Thus, a single SDK may appear in the list of available interpreters several times, with the different named gemset, which helps you switch between the independent sandboxes.
IntelliJ IDEA also detects newly installed
rvm interpreters and gemsets "on-the-fly". On reopening the Project Structure dialog, you will find updates in the Gems tab of the Modules page. .
If you have provided
.rvmrc file for your project, IntelliJ IDEA parses this file on project opening. The Ruby SDK and gemsets, specified in the project
.rvmrc file, are shown in the in the Gems tab of the Modules page of the Project Structure dialog. If
rvm use command is commented out, IntelliJ IDEA doesn't change settings.
Any changes made to the project
.rvmrc file are only applied after project restart.
rvmis installed on your computer.
- Ruby interpreters are installed.
- Ruby gemsets are created using the system console.
- IntelliJ IDEA supports
rvmRuby interpreters and gemsets installed in the default
~/.rvm, or in
RVM-based remote interpreters
When adding an rvm-based remote interpreter, it is important to specify the gem set:
Note that the name of an rvm-based SDK is automatically prepended with the prefix
IntelliJ IDEA provides code insight for the