I agree with `rubocop` being most useful if it is ran as close to writing the code as possible. Running it after huge amounts of code have been written and fixing random erros is quite tedious. I am using it together with syntastic in vim and will see offences directly as I write the line (auto-save, yay).