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

packing a runnable jar including rake + rspec can not execute '-S rake spec' #2969

mkristian opened this issue May 21, 2015 · 1 comment


Copy link

basically the setup is

just exchange "-T" with spec in this line

this fails first because of #2968 and secondly the current working directory is "uri:classloader://" which the shell spawner can not change the directory to.

maybe it is feasible to use -C uri:classloader:// on the jruby executable in case both condition apply:

  • executable is jruby
  • PWD is uri:classloader://

that is the relevant error message from the above modified test:

[INFO] uri:classloader:/META-INF/jruby.home/bin/jruby -S rspec ./spec/one_spec.rb
[INFO] sh: 1: cd: can't cd to uri:classloader://
[INFO] sh: 1: uri:classloader:/META-INF/jruby.home/bin/jruby: not found
[INFO] uri:classloader:/META-INF/jruby.home/bin/jruby -S rspec ./spec/one_spec.rb failed
Copy link
Member Author

this is fixed with test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet

No branches or pull requests

1 participant