Open mullermp opened 3 years ago
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.
$(which rubocop)
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: https://github.com/postmodern/chruby/issues/211
.ruby-version
Thanks anyway!
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
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: https://github.com/postmodern/chruby/issues/211