31 Aug 2010
I've recently done a proof of concept using RabbitMQ, Spring AMQP and Spring Integration. This...
21 Jul 2010
In over ten years of experience building software, there are patterns and nuances that you...
13 Jul 2010
I set out to find an elegant solution to providing growl notifications for a JRuby...
05 May 2010
I've started playing around with Heroku lately and ran into an issue when I created...
30 Apr 2010
I've been meaning to investigate something that came to mind a while back and just...

Running Apache Buildr with JRuby and Nailgun

Published: 23 Oct 2009

If your using Apache Buildr for building your projects one of the best ways to gain performance is to run Buildr with JRuby and Nailgun. Nailgun vastly improves the startup time for the JVM. 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
    

Now, you should be able to start Nailgun from the command line:

jruby --ng-server

You should see something like the following indicating Nailgun has started:

NGServer started on all interfaces, port 2113.

In another window/terminal, you can run Buildr:

jruby --ng -S buildr --version

blog comments powered by Disqus