How to configure file watchers in RubyMine

Installation

You need to install the official plugin Show archive.org snapshot , it is not bundled with RubyMine by default.

Example: Setup a watcher to verify rubocop integrity

First, open Settings -> Tools -> File Watchers. Then, configure rubocop to check every change to the VCS:

Image

Note that the "program" argument must be part of your $PATH. I worked around this constraint by using b as a shim for bundle exec.

Resources

Michael Leimstädtner Over 3 years ago