title: Rubymine: overcommit gem is not installed
body: <p>I am working on a Ruby on Rails project that uses overcommit to perform various checks during the commit process. Everything works fine on the command line, I can commit, change branches, push and pull with no problem. However, when I try to perform the same actions in Rubymine, I get the following error:</p>
  
  <pre><code>This repository contains hooks installed by Overcommit, but the `overcommit` gem is not installed.
  Install it with `gem install overcommit`.
  </code></pre>
  
  <p>Despite the fact that the overcommit gem is installed in the RVM gemset for this project. </p>
  
  <p>My setup is as follow:</p>
  
  <ul>
  <li>Rubymine 8.0.3</li>
  <li>RVM 1.26.11</li>
  <li>Ruby 2.2.3</li>
  <li>overcommit 0.29.1</li>
  </ul>