Closed eregon closed 5 years ago
One difficulty here is that without the "bash -l" wrapper, rvm doesn't reliably work. That's why it's there. I'll look at whether I can move that out into the rvm-savvy runner scripts, though...
(Similarly, it's possible to get around this by overriding ruby_subprocess_cmd in the runner)
Maybe using rvm do
would work then? https://rvm.io/workflow/scripting
@mpapis @pkuczynski What would you recommend to spawn a command under a selected ruby?
@noahgibbs I updated the PR to still wrap in bash -l -c "COMMAND"
for RVM, but not wrap in other cases.
This looks like a great way to handle it. Thanks!
Thanks for merging!
-l
is also harmful in that it resets the PATH instead of inheriting from the parent process.