Skip to content
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

unable to run application, when invoked from a path with & in a folder name #54

Open
2 tasks done
Igor-Pchelko opened this issue Jun 14, 2020 · 5 comments
Open
2 tasks done

Comments

@Igor-Pchelko
Copy link

Igor-Pchelko commented Jun 14, 2020

Pre issue-raising checklist

I have already:

  • Upgraded to the latest version of the relevant libraries
  • Checked to see if the issue has already been raised

Software versions

Expected behaviour

curl -LO https://github.com/pact-foundation/pact-ruby-standalone/releases/download/v1.85.0/pact-1.85.0-osx.tar.gz
tar xzf pact-1.85.0-osx.tar.gz
cd pact/bin
./pact-mock-service --help start

./pact-mock-service --help start Should return help information.

Actual behaviour

./pact-mock-service --help start returns error.

./pact-mock-service --help start

/Users/__removed__/_R&D/pact/pact/lib/ruby/bin/ruby: line 14: D/pact/pact/lib/ruby/lib/ruby/gems/2.2.0: No such file or directory
@Igor-Pchelko Igor-Pchelko changed the title Unable to run pact on OSX Unable to run pact v1.85.0 on OSX Jun 14, 2020
@Igor-Pchelko
Copy link
Author

Igor-Pchelko commented Jun 14, 2020

Looks like the issue is similar to the: #37

But in my case the base directory was __R&D.
And self contained pact can't resolve the path on OSX with symbol &.

@Igor-Pchelko
Copy link
Author

May be it's related to the issue with path on OSX: phusion/traveling-ruby#94 ?

@bethesque
Copy link
Member

Yes, the bug looks correct. I don't know how to get that change into our codebase however. We might have to do some dirty hacks. We're in the process of moving off the Travelling Ruby package however, and replacing it with a Rust shared library. Would you be able to use a different directory in the meantime?

@Igor-Pchelko
Copy link
Author

Yep, sure.

@TimothyJones
Copy link

@bethesque - would this diff be the workaround we'd need?

expo/expo-cli@920bb1a

@YOU54F YOU54F changed the title Unable to run pact v1.85.0 on OSX unable to run application, when invoked from a path with & in a folder name May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants