buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Duncan McGregor <dun...@oneeyedmen.com>
Subject Re: Buildr and Cucumber - classpath
Date Tue, 22 Jun 2010 14:28:58 GMT

On 22 Jun 2010, at 15:01, Duncan McGregor wrote:

> quite happily, but if I try that from a rake task in Buildr
> 
> task :run_task do
>  puts `which jruby`
>  puts `jruby -J-cp /Users/duncan/.m2/repository/org/netbeans/jemmy/2.2.7.5/jemmy-2.2.7.5.jar
-S cucumber src/features`
> end
> 
> it fails
> 
> /usr/local/jruby/bin/jruby
> jruby: unknown option -J-cp

Actually this looks like a bug in JRuby, given that 

jruby -J-Xmx512m -e 'puts `jruby -JXmx512m --version`'

from the command-line also fails.

I'll pull on that thread first.

Duncan
Mime
View raw message