Created
August 17, 2011 22:54
-
-
Save awostenberg/1152852 to your computer and use it in GitHub Desktop.
gem install cuke4duke error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
> rm -r ~/.m2/repository/.jruby/; rm -r ~/.m2/repository/org/jruby/; mvn -Dcucumber.installGems=true cuke4duke:cucumber | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building maven-cuke 1.0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
Downloading: http://build.tendrilinc.com:8081/nexus/content/groups/public/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.pom | |
Downloaded: http://build.tendrilinc.com:8081/nexus/content/groups/public/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.pom (3 KB at 6.4 KB/sec) | |
Downloading: http://build.tendrilinc.com:8081/nexus/content/groups/public/org/jruby/jruby-common/1.6.1/jruby-common-1.6.1.pom | |
Downloaded: http://build.tendrilinc.com:8081/nexus/content/groups/public/org/jruby/jruby-common/1.6.1/jruby-common-1.6.1.pom (5 KB at 138.7 KB/sec) | |
Downloading: http://build.tendrilinc.com:8081/nexus/content/groups/public/org/jruby/shared/1.6.1/shared-1.6.1.pom | |
Downloaded: http://build.tendrilinc.com:8081/nexus/content/groups/public/org/jruby/shared/1.6.1/shared-1.6.1.pom (7 KB at 277.3 KB/sec) | |
Downloading: http://build.tendrilinc.com:8081/nexus/content/groups/public/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar | |
Downloaded: http://build.tendrilinc.com:8081/nexus/content/groups/public/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar (13098 KB at 8766.7 KB/sec) | |
[INFO] | |
[INFO] --- cuke4duke-maven-plugin:0.4.4:cucumber (default-cli) @ maven-cuke --- | |
[INFO] Successfully installed json-1.5.3-java | |
[INFO] Successfully installed gherkin-2.4.11-java | |
[INFO] 2 gems installed | |
[INFO] Exception `LoadError' at org/jruby/RubyKernel.java:1038 - no such file to load -- psych | |
[INFO] Exception `Gem::LoadError' at file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems.rb:861 - Could not find RubyGem sources (> 0.0.1) | |
[INFO] | |
[INFO] GET http://rubygems.org/specs.4.8.gz | |
[INFO] 302 Found | |
[INFO] GET http://production.s3.rubygems.org/specs.4.8.gz | |
[INFO] 200 OK | |
[INFO] GET http://rubygems.org/latest_specs.4.8.gz | |
[INFO] 302 Found | |
[INFO] GET http://production.s3.rubygems.org/latest_specs.4.8.gz | |
[INFO] 200 OK | |
[INFO] ERROR: While executing gem ... (ArgumentError) | |
[INFO] undefined class/module YAML::Syck::DefaultKey | |
[INFO] org/jruby/RubyMarshal.java:148:in `load' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/specification.rb:289:in `_load' | |
[INFO] org/jruby/RubyMarshal.java:148:in `load' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:130:in `fetch_spec' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:86:in `fetch_with_errors' | |
[INFO] org/jruby/RubyArray.java:2336:in `collect' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/spec_fetcher.rb:85:in `fetch_with_errors' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:108:in `find_gems_with_sources' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:154:in `add_found_dependencies' | |
[INFO] org/jruby/RubyArray.java:1602:in `each' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:153:in `add_found_dependencies' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:137:in `gather_dependencies' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/dependency_installer.rb:252:in `install' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:120:in `execute' | |
[INFO] org/jruby/RubyArray.java:1602:in `each' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/commands/install_command.rb:115:in `execute' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/command.rb:278:in `invoke' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:133:in `process_args' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/command_manager.rb:103:in `run' | |
[INFO] file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/gem_runner.rb:63:in `run' | |
[INFO] /Users/awostenberg/.rvm/rubies/jruby-1.6.0/bin/gem:25:in `(root)' | |
[INFO] Exception `Gem::SystemExitException' at file:/Users/awostenberg/.m2/repository/org/jruby/jruby-complete/1.6.1/jruby-complete-1.6.1.jar!/META-INF/jruby.home/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb:328 - Exiting RubyGems with exit_code 1 | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 19.062s | |
[INFO] Finished at: Wed Aug 17 16:52:53 MDT 2011 | |
[INFO] Final Memory: 3M/81M | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal cuke4duke:cuke4duke-maven-plugin:0.4.4:cucumber (default-cli) on project maven-cuke: Execution default-cli of goal cuke4duke:cuke4duke-maven-plugin:0.4.4:cucumber failed: Failed to run gem with arguments: install cuke4duke --version 0.4.4 --debug --verbose --backtrace: Java returned: 1 -> [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/PluginExecutionException |
I found installing cucumber prior to cuke4duke works:
install cucumber
install cuke4duke
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having a similar problem. I'd love to know if you find a solution. cuke4duke is looking like a real turd, right now.