This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Description
Is your feature request related to a problem? Please describe.
I use multiple ruby versions for each of my projects. I manage these versions with chruby. The path to Rubocop for these versions is different. i.e
~/.gem/ruby/3.0.2/bin/rubocop
~/.gem/ruby/2.7.4/bin/rubocop
I want to be able to use rubocop for whatever ruby version is in my project.
Describe the solution you'd like
I want to set my command to $(which rubocop) and have it use the result as the absolute path.
Describe alternatives you've considered
Is there a way to have project level configuration?
Maybe chruby-exec can support .ruby-version but that doesn't seem likely since the feature request is 7 years old. Issue: postmodern/chruby#211