GithubHelp home page GithubHelp logo

cuke4duke install fails about cuke4duke HOT 6 OPEN

mikesteez avatar mikesteez commented on August 20, 2024
cuke4duke install fails

from cuke4duke.

Comments (6)

trnl avatar trnl commented on August 20, 2024

Mike, you are right. Using jruby-1.6.5 fixed this issue for me.

-vova

from cuke4duke.

darrellme avatar darrellme commented on August 20, 2024

Vova, I tried upgrading to 1.6.5 of JRuby, however this gave me another issue: -

Any ideas ?

-install-gems:
gem (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
[gem] Thank you for installing cucumber-1.1.4.
[gem] Please be sure to read http://wiki.github.com/cucumber/cucumber/upgrading
[gem] for important information about this release. Happy cuking!
gem (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::) (::)
[gem] Successfully installed json-1.6.4-java
[gem] Successfully installed gherkin-2.7.2-java
[gem] Successfully installed term-ansicolor-1.0.7
[gem] Successfully installed builder-3.0.0
[gem] Successfully installed diff-lcs-1.1.3
[gem] Successfully installed cucumber-1.1.4
[gem] Successfully installed cuke4duke-0.4.4
[gem] 7 gems installed
-cucumber-specific-host:
-cucumber-no-host:
[echo] cucumber-no-host
[cucumber] Code:
[cucumber] * build/classes/test/com/sap/wcms/authentication/test/steps/DummyStep.class
[cucumber] Features:
[cucumber] * features/wcms_quicktest.feature
[cucumber] Parsing feature files took 0m0.069s
[cucumber] Feature: WCMS UI features
[cucumber] In order to ensure that the WCMS features are working correctly
[cucumber] As a developer
[cucumber] I want to test the UI functionality
[cucumber] Scenario: :Log onto wcms # features/wcms_quicktest.feature:6
[cucumber] Given The action is logon to wcms # features/wcms_quicktest.feature:7
[cucumber] When the user is admin # features/wcms_quicktest.feature:8
[cucumber] undefined method create_step_match' for #<#<Module:0x1476ff9e0>::ClassLanguage:0x7c198046> (NoMethodError) [cucumber] org/jruby/RubyKernel.java:2067:insend'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime/support_code.rb:148:in matches' [cucumber] org/jruby/RubyArray.java:2336:incollect'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime/support_code.rb:147:in matches' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime/support_code.rb:133:instep_match'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime.rb:66:in step_match' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/step_invocation.rb:82:infind_step_match!'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/step_invocation.rb:55:in invoke' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/step_invocation.rb:38:inaccept'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:99:in visit_step' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:163:inbroadcast'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:98:in visit_step' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/step_collection.rb:15:inaccept'
[cucumber] org/jruby/RubyArray.java:1602:in each' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/step_collection.rb:14:inaccept'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:93:in visit_steps' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:163:inbroadcast'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:92:in visit_steps' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/scenario.rb:55:inaccept'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime.rb:80:in with_hooks' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime.rb:96:inbefore_and_after'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime.rb:79:in with_hooks' [cucumber] org/jruby/RubyProc.java:268:incall'
[cucumber] org/jruby/RubyProc.java:228:in call' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime/support_code.rb:120:inaround'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/language_support/language_methods.rb:9:in around' [cucumber] org/jruby/RubyProc.java:268:incall'
[cucumber] org/jruby/RubyProc.java:228:in call' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/language_support/language_methods.rb:91:inexecute_around'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/language_support/language_methods.rb:8:in around' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime/support_code.rb:119:inaround'
[cucumber] org/jruby/RubyProc.java:268:in call' [cucumber] org/jruby/RubyProc.java:228:incall'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime/support_code.rb:117:in around' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime.rb:91:inaround'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime.rb:78:in with_hooks' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/scenario.rb:53:inaccept'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/scenario.rb:108:in with_visitor' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/scenario.rb:47:inaccept'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:51:in visit_feature_element' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:163:inbroadcast'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:50:in visit_feature_element' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/feature.rb:43:inaccept'
[cucumber] org/jruby/RubyArray.java:1602:in each' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/feature.rb:42:inaccept'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:20:in visit_feature' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:163:inbroadcast'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:19:in visit_feature' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/features.rb:29:inaccept'
[cucumber] org/jruby/RubyArray.java:1602:in each' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/features.rb:17:ineach'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/features.rb:28:in accept' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:14:invisit_features'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:163:in broadcast' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/ast/tree_walker.rb:13:invisit_features'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/runtime.rb:46:in run!' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/cli/main.rb:43:inexecute!'
[cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/lib/cucumber/cli/main.rb:20:in execute' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/bin/cucumber:14:in(root)'
[cucumber] org/jruby/RubyKernel.java:1063:in load' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/gems/cucumber-1.1.4/bin/cucumber:4:in(root)'
[cucumber] org/jruby/RubyKernel.java:1063:in load' [cucumber] /Users/i022141/github/shared/osgi/com.sap.wcms.authenticator.cps/lib/.jruby/bin/cuke4duke:19:in(root)'

from cuke4duke.

trnl avatar trnl commented on August 20, 2024

Hey, try to use cuke4duke 0.4.4

Are you using maven?

-vova

from cuke4duke.

darrellme avatar darrellme commented on August 20, 2024

Hi

I'm already using 0.4.4.

I'm using ANT as opposed to Maven currently, this may change in the future, but for now we have to stick with ANT.

Thanks

D

from cuke4duke.

trnl avatar trnl commented on August 20, 2024

I've remembered

the problem now in compatibility between cucumber 1.1.4 and cuke4duke 0.4.4

I've solved it with removing cucumber 1.1.4 gem. installing 1.1.2 and renaming 1.1.2 to 1.1.4. I've done this in m2 repository.
some information here:
http://groups.google.com/group/cukes/browse_thread/thread/0c2e40902e135b5d

-vova

from cuke4duke.

darrellme avatar darrellme commented on August 20, 2024

I've managed to find the problem, and I've created an issue against the cucumber repository as they have removed a method create_step_match from one of their .rb files since 1.1.3.

The other way around this is to use the gem install command and install cucumber 1.1.2 before installing cuke4duke and hey presto it works.

Just thought you might like to know

D

from cuke4duke.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.