cucumber-attic / cuke4duke

Cucumber support for the JVM: Java, Scala, Groovy, Clojure, Ioke, Javascript, Spring, Guice, PicoContainer, WebDriver, Ant and Maven
http://wiki.github.com/aslakhellesoy/cuke4duke
MIT License
256 stars 72 forks source link

Use gem bundle for easier gem installation #63

Open aslakhellesoy opened 14 years ago

aslakhellesoy commented 14 years ago

This is work in progress on bracki's branch

It still needs work - deleting ~/.m2/repository/.jruby and then following build instructions fails. Furthermore, only the celerity maven example seems to be updated with the new gem element. All examples need to be updated, both for maven and ant.

bracki commented 14 years ago

Yep. Definitely. -Dcucumber.installGems is broken in the current state. Work will resume next week.

aslakhellesoy commented 14 years ago

Any progress on this?

bracki commented 14 years ago

Not really. I found that packaging gems into jars works nicely. Unfortunately executing commands that are packaged into bin\somecommand.rb does not work. My favourited approach right now is to a pack a jar containing all needed gems and then unpack that to some/folder/.gemhome before running cuke4duke.

nealeu commented 14 years ago

This sounds similar to the approach I've taken to avoid -Dcucumber.installGems, which doesn't play well in a CI environment.