On 22 Jun 2010, at 14:36, Antoine Toulme wrote: > This is starting to feel like a question for the Cucumber project, not so > much us. > > I might not be getting the full picture though.
I suppose I'm a bit confused by which VM is running what, and how where and how JRuby fits in to Buildr, and it seems like you guys should know more than me ;-) So for instance, I can run jruby -J-cp /Users/duncan/.m2/repository/org/netbeans/jemmy/2.2.7.5/jemmy-2.2.7.5.jar -S cucumber src/features 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 despite invoking the same command as far as I can see. Duncan
