If your linter plugin interfaces with a linter that is written in ruby, you should subclass from SublimeLinter.lint.RubyLinter.
Note
This is done for you if you use the :ref:`Create Linter Plugin <create-linter-plugin-command>` command and select Ruby as the linter language.
By doing so, you get the following features:
During class construction, |sl| attempts to locate the gem and ruby specified in :ref:`cmd`.
The following forms are valid for the first argument of cmd:
gem@ruby
gem
ruby
If :program:`rbenv` is installed and the gem is also under :program:`rbenv` control,
the gem will be executed directly. Otherwise (ruby [, gem]) will be executed.
If :program:`rvm-auto-ruby` is installed, (rvm-auto-ruby [, gem]) will be executed.
Otherwise ruby or gem will be executed.