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
