RubyMine
 
Get RubyMine
You are viewing the documentation for an earlier version of RubyMine.

SDK gemsets

Last modified: 09 August 2022

RubyMine provides the capability to work with gemsets for the RVM and rbenv version managers. Note that this functionality is supported only for local interpreters.

To see gemsets available for the installed interpreters, open the Settings/Preferences dialog Ctrl+Alt+S and go to the Language & Frameworks | Ruby SDK and Gems page. On this page, the gemsets are shown as the interpreter children:

Ruby SDK and Gems page for RVM

For RVM, you can select a certain gemset and install project gems to this gemset. On the other hand, the rbenv version manager provides the ability to select several gemsets for a project:

Ruby SDK and Gems page for rbenv

In this case, gems will be installed to the first enabled gemset. See Install gems for instructions on how to install gems.