New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pact-node's ruby bindings don't work if the project name has spaces #247
Comments
Thanks @chris-fa, I'll take a look. cc: @mboudreau @bethesque . Did we do something recently with fixing spaces on Windows, and could this have had an impact? |
@mefellows Btw, this is not happening on Windows, it's on a Jenkins server running in some linux distro (prolly Centos but I don't have confirmation yet, the owner hasn't replied with that info). I was also able to reproduce it on my MacOS |
I swear we'd fixed all the space issues! They're like whack-a-mole. I'll have a look. I think I'm going to add contraindications for using Pact in the FAQ - 1. you're on windows or 2. your project name has spaces :P |
I get further if I replace
with
in ruby_environment, but then it errors further down. |
Closing as latest version removes Ruby core. |
Software versions
macOS 10.13.3
,Centos 7 (probably)
5.9.1
8
Expected behaviour
It shouldn't matter whether the directory name has or hasn't spaces on its name.
Actual behaviour
When creating the mock server, it somehow split the project path where spaces exist:
/var/lib/jenkins/workspace/My Cool App/
, and attempts to runCool
as a command. It then, of course, fails sayingSteps to reproduce
my-cool-app
toMy Cool App
.The text was updated successfully, but these errors were encountered: