RubyMine
 
Get RubyMine

SDK gemsets

Last modified: 11 October 2024

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 dialog CtrlAlt0S 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. For more information about installing gems, refer to Install gems.