What’s mining: Ruby Gems Manager

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:

This entry was posted in Feature, WhatsMining and tagged , . Bookmark the permalink.

5 Responses to What’s mining: Ruby Gems Manager

  1. Berin says:

    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:

    @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:

    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. Pingback: diego barros - StartTags.com

  5. Nick Randal says:

    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?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">