RubyMine 2016.3 EAP: New Gem Management UI
We are staying on track with the Early Access Program – please welcome the next RubyMine 2016.3 EAP build 163.4396.20.
For previous posts covering the major new features of the upcoming release, see: Faster Remote Gem Downloading.
New Gem Management UI
Gemsets seem to be the convenient way to deal with different gem environments for your apps. RubyMine has supported RVM gemsets for a while, and it’s been almost a year since we announced support for rbenv gemsets as well. But we were faced with the fact that a lot of gemsets make our Ruby version and gem management UI too complicated and not intuitive enough. In addition, rbenv and RVM gemsets behave in a slightly different way, so the task of making an intuitive and unified UI for both of these Ruby version managers becomes even more challenging. So that is the new UI we’ve come up with:
The List of Ruby SDKs
When opening Preferences | Languages & Frameworks | Ruby SDK and Gems, you can see the list of all Ruby versions installed on your machine. To choose a Ruby SDK for your current project, just use Space or click the corresponding radio button:
RubyMine automatically detects Ruby versions installed, but you can also add or remove any local or remote one by using the + and – buttons:
The List of Gemsets
Now for each Ruby SDK you can open a list of gemsets available, please use Enter, double click or triangle icon for that. You can also open all the gemsets of all SDKs, or collapse the tree, with these buttons:
There is a known issue about ‘global’ gemset not chosen by default. We’re going to fix that in the next EAP build.
You can choose any other gemset to be used with your project. Please note that with RVM you can choose only one gemset (use Space or the radio button):
You can also choose whether to use ‘global’ RVM gemset or not (with Space or the corresponding check-box):
For rbenv ‘default’ gemset actually means the set of gems installed to the SDK folder, so you cannot uncheck it:
With rbenv you can also choose as many gemsets as you want to (with Space or corresponding check-boxes):
For rbenv ‘global’ gemset behaves just like any other gemset, so there is no difference for it in the UI.
The List of Gems
Now let’s take a closer look at the panel on the right with the list of available gems. When you set the focus on a gemset, you can see all the gems installed in that gemset:
When you set the focus on a Ruby SDK, you can see all the gems available for the project with that Ruby version – the gems of all gemsets being chosen for the SDK:
You can just start typing to search for a specified gem:
You can also go to a gem path and to a page with gem description with the help of the corresponding buttons:
All the UI changes are also available for IntelliJ IDEA Ruby plugin now, and rbenv gemsets are now supported in the Ruby plugin. We’re still working on rbenv gemsets support for remote SDKs.
We hope you’ll enjoy the new UI! You’re welcome to give it a try by downloading the new build, and share your feedback with us here in the comments.
Your RubyMine Team
Subscribe to Blog updates
Thanks, we've got you!
RubyMine 2023.3 EAP Update
Hello everyone! We’re back with an update on the state of the 2023.3 Early Access Program. You can download the latest EAP build from our website, via the free Toolbox App, or by using snaps for Ubuntu. Here are the biggest highlights of this release: Performance improvements As we me…
The RubyMine 2023.3 Early Access Program Is Open!
Hello everyone, The third RubyMine Early Access Program of 2023 is underway! The key change in the first EAP build is an important indexing optimization. By refactoring our code base, we’ve doubled RubyMine’s indexing speed compared to v2023.1. This is particularly noticeable when working…
Performance Improvements in RubyMine 2023.1
Hello everybody, The new release is fast approaching, so it’s time to unveil the performance enhancements you can expect from RubyMine 2023.1. Faster code completion When developing and supporting RubyMine, we analyze a great load of anonymized usage data. A lot of recent data pointed to the fact t…
RubyMine 2023.1 EAP5 Is Out!
Hello everyone, RubyMine 2023.1 EAP5 is now available! Below you can find the most notable features in this build. We encourage you to try them out and share your feedback in the comments or in our issue tracker. Migration of Ruby code to the Symbol API In order to improve code insight actions such…