Following this tutorial on how to make a task for Rspec works great, in a clean working environment.
But I have multiple versions of RSpec installed and the task, correctly, gets confused which version to use.
So I want to use the following command:
{ "command": "bundle exec rspec" }
This fails though, with the following error:
Failed to launch external program bundle exec rspec .
spawn bundle exec rspec ENOENT
How can I define a (test) task to that runs bundle exec rspec
instead of plain rspec
?