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

Support for Command Substitution #500

@mullermp

Description

@mullermp

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions