A TextMate 2 bundle for RuboCop.
RuboCop bills itself as "A Ruby static code analyzer, based on the community Ruby style guide". Basically it will get grumpy at you for having bad code.
Analysis can be performed on the current working file or on a selection of files or folders.
The easiest way to install the bundle is via git. If you're running 10.8 it's already installed on your mac
git clone git@github.com:mrdougal/textmate2-rubocop.git ~/Desktop/rubocop.tmbundle
rubocop.tmbundle
.If for some reason you don't have Git, or you don't like it:
rubocop.tmbundle
and choose Use .tmbundle
extension.I've only tested this on TextMate2, if you're still on TextMate1 can you let me know if this bundle works (or not).