Guard::RubyCritic is a tool that uses RubyCritic to detect and report smells in Ruby code in real-time.
Add this line to your application's Gemfile:
And then execute:
Next, generate a default
Guardfile in your root directory:
$ guard init rubycritic
Guardfile to your heart's content and start it with the following command:
Each time you save a file, that file will be analysed and its report will be available at
See Guard::RubyCritic's contributing guidelines about how to proceed.