RubyMine 6.3.0 Web Help

RubyMine supports rvm versions up to 1.17.8.

rvm is intended for *UNIX and MacOS.

In this section:

Prerequisites

Note

  • rvm is installed on your computer.
  • Ruby interpreters are installed.
  • Ruby gem sets should be created using the system console.
  • 5.0+ RubyMine supports rvm Ruby interpreters and gem sets installed in the default rvm folder ~/.rvm , or in /usr/local/rvm only.

Overview

At startup, RubyMine scans your ~/.rvm folder or /usr/local/rvm folder , and automatically configures SDK's for each Ruby interpreter and gem set pair . The detected interpreters and gem sets are shown in the Ruby SDK and Gems page of the Settings dialog. Thus, a single SDK may appear in the list of available interpreters several times, with the different named gem set, which helps you switch between the independent sandboxes.

RubyMine also detects newly installed rvm interpreters and gem sets "on-the-fly". On reopening the Settings dialog, you will find updates in the Ruby SDK and Gems page.

If you have provided .rvmrc file for your project, RubyMine parses this file on project opening. The Ruby SDK and gem sets, specified in the project .rvmrc file, are shown in the Ruby SDK and Gems page of the Settings dialog. If rvm use command is commented out, RubyMine doesn't change settings.

Any changes made to the project .rvmrc file are only applied after project restart.

See Also

Procedures:

Reference:

External Links:

Web Resources: