I am using Windows and trying to run an existing package of functions that was originally built on Mac OS, which allows them to work around the problem with " \ " with spaces.
I am using Ruby 2.2.3 and Cucumber.
Function names contain spaces, and I cannot change this. I tried using " " and ' ' to get around the white spaces, but each time having the same problem.
Here is an example of a problem. If I run:
cucumber features/'Name containing whitespaces.feature'
It works fine.
But when I run:
cucumber -p my_profile
and cucumber.yml contains:
my_profile: features/'Name containing whitespaces.feature'
Then it fails with:
No such file or directory - features/'Name. You can use `cucumber --init` to get started.
Can someone help me get around this problem, since renaming in my case is not an option.
source share