What’s mining: Ruby Gems Manager

Eugene Toporov

We’ve heard people complaining about RubyMine indexing all the gems available in the Ruby SDK upon project opening. Yes, it does take time if you have loads of gems installed.

Of course we’re not going to ignore the people’s voice and we are now almost ready to release a solution for this problem, and for other tasks, — a Ruby Gem Manager.

Couple of concepts… There are all gems available in the selected Ruby SDK and then there are ‘active’ gems assigned to the project. Only active gems are indexed.

Here’s some intelligence the Gem Manager has:

  1. On project open, RubyMine autodetects the required gems and activates them for the project, including the dependent gems.
  2. If you add a gem manually, the required gems are added automatically (this is optional).
  3. The latest applicable gem versions are activated. You can always activate older versions manually.

This is just a start. We have some other ideas to implement in the manager. If you have any, too, please share with us and the world.

The new EAP build is coming in a day or two. Meanwhile, two screenshots to please your eyes:

Comments below can no longer be edited.

5 Responses to What’s mining: Ruby Gems Manager

  1. Berin says:

    September 9, 2009

    There’s a problem with the implementation. The gems for a rails package are listed and “attached”, but I cannot run the server. RubyMine complains about rails not being attached.

  2. dennis.ushakov@jetbrains.com says:

    September 9, 2009

    @Berin: we have a similar issue in our bugtracker http://www.jetbrains.net/jira/browse/RUBY-4312. Could you please attach your idea.log (see http://www.jetbrains.net/devnet/docs/DOC-1153 for location) and screenshots of Ruby SDK and Gems panel and run configuration dialog.

  3. angel says:

    February 27, 2010

    Hi..I’ve a problem..my rm worked perfect but when I installed ruby 1.9 and update rails and gems now when I press “install gems” don’t load any gem, it look like check the url gems but say “0 gems downloaded so far” what can it be? thanks

  4. diego barros - StartTags.com says:

    March 4, 2010

    […] is not like what OS X was to OS 9. OS X was completely new. Whereas Vista has tonnes of old …JetBrains RubyMine Blog Blog Archive What’s mining: Ruby …Mail (will not be published) (required) … RubyMine’s i18n preview in the editor was a nice […]

  5. Nick Randal says:

    March 31, 2011

    I cannot get past Rubygems not install for SDK : Ruby SDK 1.9.2-p180. I have installed Rubygems and it says it is up to date. what am I missing?


Subscribe for updates