Ruby gems (bundler system for Ruby) has a concept of binstubs. Basically, these are wrappers around the commands like rspec
/rubocop
. They are useful for selecting the correct version of the command that's in your project. Alternatively, you can prepend these commands with bundle exec
, and it does the same thing.
Compilers like rspec
/rubocop
use the raw version of these commands, and not prepend them with bundle exec
or alternatively use binstubs. I can create my own version of these compilers, but I feel like this support should be built-in. Maybe it can be toggled with a global variable such as g:rspec_bundle_exec_prefix
/g:rubocop_bundle_exec_prefix
(or a consolidated g:ruby_compilers_bundle_exec_prefix
).
Another reason I feel like this should be baked in is because if I were to create my own version of the compiler, then I'd have to copy-paste the other things as well like errorformat
, which I feel is nicely done already in the inbuilt compilers.
I can raise a PR for this, but wanted to run this idea through the core maintainers first.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.