We now have a gem https://github.com/makandra/makandra-rubocop for this job
Follow the instructions here Show archive.org snapshot .
PRs at makandra/rubocop-config Show archive.org snapshot are welcome. Also check the issue tracker Show archive.org snapshot .
Since version 2017-1 Show archive.org snapshot RubyMine runs cops in the background, and displays RuboCop offenses the same way as it does RubyMine inspections. ( Instruction Show archive.org snapshot )