Donate. I desperately need donations to survive due to my health

Get paid by answering surveys Click here

Click here to donate

Remote/Work from Home jobs

SyntaxError: /home/jenkins/.rbenv/shims/bundle:3: syntax error, unexpected tSTRING_BEG [ -n “$RBENV_DEBUG” ] && set -x

The following:

java -cp <jarpath> org.jruby.Main -S bundle exec cucumber features

runs in jenkins master, but I get the following error in slave.

SyntaxError: /home/jenkins/.rbenv/shims/bundle:3: syntax error, unexpected tSTRING_BEG [ -n "$RBENV_DEBUG" ] && set -x

If I use it without -cp, it says:

could not find or load Main class in <jarpath>

Any help is appreciated.

Comments