How to use JRuby + Nailgun + Buildr
Shamelessly stolen from:http://www.digitalsanctum.com/2009/10/23/running-apache-buildr-with-jruby-and-nailgun/
Here's a quickstart guide to running Buildr with JRuby and Nailgun:
1. Install JRuby to some directory we'll call JRUBY_HOME
2. Add JRUBY_HOME/bin
to your PATH
3. If you're not running windows, do the following:
cd JRUBY_HOME/tool/nailgun ./configure make
4. Now, you should be able to start Nailgun from the command line:
jruby --ng-server
and you should see something like the following indicating Nailgun has started:
NGServer started on all interfaces, port 2113.
5. In another window/terminal, you can run Buildr:
jruby --ng -S buildr --version