can not install cucumber gem from within cucumber-maven-plugin --------------------------------------------------------------
Key: JRUBY-5488 URL: http://jira.codehaus.org/browse/JRUBY-5488 Project: JRuby Issue Type: Bug Affects Versions: JRuby 1.6RC2 Reporter: kristian meier Assignee: Thomas E Enebo steps to reproduce it: {noformat} $ mkdir features $ rm -r target $ mvn de.saumya.mojo:cucumber-maven-plugin:0.24.0:test -Djruby.version=1.6.0.RC2 -Djruby.verbose {noformat} will produce for spork-0.8.4.gem {noformat} [INFO] Building native extensions. This could take a while... [WARNING] ERROR: Error installing /home/kristian/.m2/repository/rubygems/spork/0.8.4/spork-0.8.4.gem: [WARNING] ERROR: Failed to build gem native extension. [WARNING] [WARNING] java -jar /home/kristian/.m2/repository/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar mkrf_conf.rb [WARNING] Actually, there aren't any native extensions. I'm just dynamically installing dependencies based off of your operating system [WARNING] [WARNING] "java -jar /home/kristian/.m2/repository/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar" -rubygems /home/kristian/target/rubygems/gems/rake-0.8.7/bin/rake RUBYARCHDIR=/home/kristian/target/rubygems/gems/spork-0.8.4/lib RUBYLIBDIR=/home/kristian/target/rubygems/gems/spork-0.8.4/lib [WARNING] /bin/sh: java -jar /home/kristian/.m2/repository/org/jruby/jruby-complete/1.6.0.RC2/jruby-complete-1.6.0.RC2.jar: not found [WARNING] [WARNING] [WARNING] Gem files will remain installed in /home/kristian/target/rubygems/gems/spork-0.8.4 for inspection. [WARNING] Results logged to /home/kristian/target/rubygems/gems/spork-0.8.4/ext/gem_make.out {noformat} it looks like the /bin/sh tries to execute "java -jar ....." with quotes jruby-1.5.6 works fine, see: {noformat} $ rm -r target $ mvn de.saumya.mojo:cucumber-maven-plugin:0.24.0:test -Djruby.version=1.5.6 -Djruby.verbose {noformat} -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email