title: How to activate test-unit for RubyMine when developing a library (gem)?
body: <p>I'm developing a library (a gem) using Ruby 1.9.2. My Gemspec looks like the usual for a gem:</p>
  
  <pre><code>source "http://rubygems.org"
  
  # Specify your gem's dependencies in table_builder.gemspec
  gemspec
  </code></pre>
  
  <p>while in my gemspec I have this line:</p>
  
  <pre><code>s.add_development_dependency "test-unit"
  </code></pre>
  
  <p>I can see it's being installed and my Gemfile.lock includes it:</p>
  
  <pre><code>PATH
    remote: .
    specs:
      foobar (0.0.1)
  
  GEM
    remote: http://rubygems.org/
    specs:
      test-unit (2.4.5)
  
  PLATFORMS
    ruby
  
  DEPENDENCIES
    foobar!
    test-unit
  </code></pre>
  
  <p>In my Rakefile I load it with:</p>
  
  <pre><code>require "rubygems"
  require "test/unit"
  </code></pre>
  
  <p>as well as in my test_helper.rb:</p>
  
  <pre><code>require "rubygems"
  require "test/unit"
  </code></pre>
  
  <p>In the command line the tests run and pass, but in RubyMine, whether I run tests or the test rake task, I get this message: </p>
  
  <blockquote>
    <p>MiniTest framework was detected. It is a limited version of original
    Test::Unit framework. RubyMine/IDEA Ruby plugin test runner requires
    full-featured version of the framework, otherwise default console
    tests reporter will be used instead. Please install 'test-unit' gem
    and activate it on runtime.</p>
  </blockquote>
  
  <p>I'm using RVM, so I checked the SDK is the one I'm using on the command line and test-unit is listed in the list of installed gems.</p>
  
  <p>So, how I activate test-unit in a way that RubyMine likes?</p>