What’s mining: Bundler support in RubyMine

We were getting a number of questions about Bundler gem support in RubyMine. Bundler is a nice tool that manages gem dependencies for your ruby applications created by Yehuda Katz (aka wycats).

So, we went and added the appropriate support for it. The new functionality will be available in the really-soon-to-be-released RubyMine 2.0.1

To bundle gems into your application you simply need to execute the Tools->Bundle Gems. This will open the console and run the gem bundle command. This menu item becomes available once you have the Bundler gem installed in your selected Ruby SDK.

Click the image below to see the full screenshot.

Once you bundled you gems, they will show up as ‘frozen’ in Gem Manager.

It is really important to note that RubyMine manages gems not to just manage them but with the purpose to provide a better code insight and completion. For IDE performance sake we do not scan ALL gems installed under the SDK, but only those attached to your project. So, do not ignore those ‘Some of the required gems are not attached’ warnings if you want to experience what “the smart IDE” really means.

If there’s something you’d love to have added/fixed in RubyMine:

Develop with pleasure!
JetBrains RubyMine Team

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

4 Responses to What’s mining: Bundler support in RubyMine

  1. Seban says:

    Yeah! It’s really nice feature. I keep my fingers crossed for your work on RubyMine. Do you plan add other new features before RubyMine 3?

  2. Thanks Seban. Sure, there will be some interim 2.x releases and some features will appear before the 3.0.

  3. Has Bundler support been added to the IntelliJ 9 plugin?

  4. @Kurt: of course, this functionality will also be available in IntelliJ IDEA Ruby plugin. The plugin will be updated along with RubyMine 2.0.1 release.

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> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>