You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 21, 2019. It is now read-only.
I am using cuke4duke using maven and java steps. I've installed it using the bootstrapping instructions.
Because of the way the dependencies are declared using ">=", when you install cuke4duke you get cucumber >= 0.10.2 and gherkin >= 2.3.5. Really these should be ~> I think.
The problem is that there is a backward incompatible change in gherkin 2.4.0 so the following error is given:
This can be fixed quickly by adding a runtime dependency before the cucumber one to gherkin ~> 2.3.5 so that it gets resolved to 2.3.x prior to it trying to use cucumber 0.10.3 and gherkin 2.4.0, forcing the correct gem resolution.
The text was updated successfully, but these errors were encountered:
@jbandi,
In the gemspec for cuke4duke add the following line
s.add_runtime_dependency(%q, ["~> 2.3.5"])
before any dependencies on cucumber. The gemspec files should be in %PATH_TO_JRUBY%\lib\ruby\gems\x.x\specifications
You should now be able to run cuke4duke 0.4.4 from jruby now.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I am using cuke4duke using maven and java steps. I've installed it using the bootstrapping instructions.
Because of the way the dependencies are declared using ">=", when you install cuke4duke you get cucumber >= 0.10.2 and gherkin >= 2.3.5. Really these should be ~> I think.
The problem is that there is a backward incompatible change in gherkin 2.4.0 so the following error is given:
This can be fixed quickly by adding a runtime dependency before the cucumber one to gherkin ~> 2.3.5 so that it gets resolved to 2.3.x prior to it trying to use cucumber 0.10.3 and gherkin 2.4.0, forcing the correct gem resolution.
The text was updated successfully, but these errors were encountered: