Comments (6)
Mike, you are right. Using jruby-1.6.5 fixed this issue for me.
-vova
from cuke4duke.
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:in
send'
[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:in
collect'
[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:in
step_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:in
find_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: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: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: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: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:in
accept'
[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: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: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: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: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:in
accept'
[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:in
before_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:in
call'
[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:in
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:9:in around' [cucumber] org/jruby/RubyProc.java:268:in
call'
[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:in
execute_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:in
around'
[cucumber] org/jruby/RubyProc.java:268:in call' [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: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:in
around'
[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:in
accept'
[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: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: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: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: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:in
accept'
[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: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: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: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: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:in
accept'
[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: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: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:in
visit_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:in
visit_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:in
execute!'
[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.
Hey, try to use cuke4duke 0.4.4
Are you using maven?
-vova
from cuke4duke.
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.
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.
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)
- Antlib should define all tasks HOT 1
- Cannot get maven-cuke4duke-jump-start to work.... HOT 3
- cuke4duke wiki has dead links HOT 5
- gherkin 2.4.0 breaks cuke4duke 0.4.3/0.4.4 running using maven HOT 2
- The plugin 'org.apache.maven.plugins:maven-cuke4duke-plugin' does not exists HOT 1
- cuke4duke-maven-plugin is does not use username/password for proxy connection HOT 2
- OutOfMemoryError caused by SpringFactory HOT 1
- Cuke4Duke StepMother still using announce
- Cucuber 1.0.1 breaks cuke4duke HOT 10
- Errors while running java example "HelloCucumber" HOT 9
- java example hangs
- Configure Source Directory
- accessing tags for OutlineTable HOT 1
- Missing ant Buildlistener class
- Deploy maven plugins to Maven Central
- Step definitions inside jar HOT 6
- Example project 'jamesladd-maven-cuke4duke-jump-start' fails HOT 5
- better grails example HOT 3
- Deprecate this project more clearly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cuke4duke.