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:
This repository contains hooks installed by Overcommit, but the `overcommit` gem is not installed.
Install it with `gem install overcommit`.
Despite the fact that the overcommit gem is installed in the RVM gemset for this project.
My setup is as follow:
- Rubymine 8.0.3
- RVM 1.26.11
- Ruby 2.2.3
- overcommit 0.29.1