phoet / buildr-examples

:wrench: :nut_and_bolt: examples for using buildr
http://blog.nofail.de/2010/01/buildr-the-build-system-that-doesnt-suck/
Apache License 2.0
13 stars 4 forks source link

== Installation

Install buildr[http://buildr.apache.org] 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[http://cukes.info/] and can be executed via:

rake cucumber

== Requirements

The examples are tested with JRuby[http://jruby.org] on Mac OS X Snowleopard.

== RVM and JRuby on the Mac

Install RVM and JRuby following this guide[http://blog.nofail.de/2010/01/xruby-on-the-mac/], make sure Developer- Tools[http://developer.apple.com/tools/xcode/] are installed with Unix-Support.

The project comes with a .rvmrc[http://rvm.beginrescueend.com/workflow/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)