Installation

Install buildr for JRuby:

export JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Home
gem install buildr ivy4r cucumber

buildr --version
=> Buildr 1.4.1 (JRuby 1.5.1)

Running Examples

The examples are wrapped in cucumber-spec and can be executed via:

rake cucumber

Requirements

The examples are tested with JRuby on Mac OS X Snowleopard.

RVM and JRuby on the Mac

Install RVM and JRuby following this guide, make sure Developer- Tools are installed with Unix-Support.

The project comes with a .rvmrc, setting the default to JRuby 1.5.1 for convenience:

cd buildr-examples
ruby -v
=> jruby 1.5.1 (ruby 1.8.7 patchlevel 249) (2010-06-06 f3a3480) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_20) [x86_64-java]

License

Using Apache license so buildr project can test/integrate/distribute this stuff.

(see LICENSE file)