Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

JRuby issue during install #1

Open
mpkorstanje opened this issue Oct 14, 2017 · 0 comments
Open

JRuby issue during install #1

mpkorstanje opened this issue Oct 14, 2017 · 0 comments

Comments

@mpkorstanje
Copy link
Contributor

From: cucumber/cucumber-jvm#199

I ran into the following error when I ran mvn clean install. Doing rvm use 1.8.7 fixed it.

I'm filing this issue even if it's fixed as @dkowis asked for it.

Downloaded: http://repo.maven.apache.org/maven2/org/codehaus/groovy/groovy-all/1.8.5/groovy-all-1.8.5.jar (5996 KB at 585.4 KB/sec)
[INFO] Executing tasks

main:
     [copy] Copying 1 file to /Users/jbpros/Projects/cucumber-jvm/jruby/lib
     [echo] Building Gem
     [java] SyntaxError: /Users/jbpros/.rvm/bin/gem:3: syntax error, unexpected tSTRING_BEG
     [java] 
     [java] if [[ -s "/Users/jbpros/.rvm/environments/ruby-1.8.7-p334" ]]
     [java]          ^
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Cucumber-JVM ...................................... SUCCESS [26.706s]
[INFO] Cucumber-JVM: Core ................................ SUCCESS [1:53.823s]
[INFO] Cucumber-JVM: JUnit ............................... SUCCESS [1.025s]
[INFO] Cucumber-JVM: JRuby ............................... FAILURE [1:13.870s]
[INFO] Cucumber-JVM: Jython .............................. SKIPPED
[INFO] Cucumber-JVM: Java ................................ SKIPPED
[INFO] Cucumber-JVM: PicoContainer ....................... SKIPPED
[INFO] Cucumber-JVM: Spring .............................. SKIPPED
[INFO] Cucumber-JVM: Guice ............................... SKIPPED
[INFO] Cucumber-JVM: Weld/CDI ............................ SKIPPED
[INFO] Cucumber-JVM: Groovy .............................. SKIPPED
[INFO] Cucumber-JVM: Ioke ................................ SKIPPED
[INFO] Cucumber-JVM: Rhino ............................... SKIPPED
[INFO] Cucumber-JVM: Clojure ............................. SKIPPED
[INFO] Cucumber-JVM: OpenEJB ............................. SKIPPED
[INFO] Cucumber-JVM: Scala ............................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3:48.315s
[INFO] Finished at: Tue Feb 07 23:06:20 CET 2012
[INFO] Final Memory: 18M/81M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (package-gem) on project cucumber-jruby: An Ant BuildException has occured: Java returned: 1
[ERROR] around Ant part ...<java fork="true" jar="${maven.dependency.org.jruby.jruby-complete.jar.path}" failonerror="true">... @ 6:100 in /Users/jbpros/Projects/cucumber-jvm/jruby/target/antrun/build-main.xml
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :cucumber-jruby
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant