cucumber/cucumber — Issue #185: Can't install cuke4duke 
Author: mikesteez
Created: 2011-11-25 13:20:39+00:00
State: open

Cuke4duke won't install.

Failed to run gem with arguments: install cuke4duke --version 0.4.4
at cuke4duke.ant.GemTask.execute(GemTask.java:24)

Because of

[INFO] [cuke4duke:cucumber {execution: run-features}]
[INFO] System.java:-2:in `arraycopy': java.lang.ArrayIndexOutOfBoundsException
[INFO] from DefaultResolver.java:111:in `makeTime'
[INFO] from DefaultResolver.java:277:in `create'

I think this is related to the date-bug in JRuby, http://jira.codehaus.org/browse/JRUBY-5581

An upgrade to a more current JRuby, 1.6.2 or above, which has the fix for the issue might solve this.

To reproduce, install https://github.com/jamesladd/maven-cuke4duke-jump-start and run

mvn -Dcucumber.installGems=true cuke4duke:cucumber