Child pages
  • How to run buildr using nailgun
Skip to end of metadata
Go to start of metadata

Prerequisites

Commandline to run buildr under nailgun:

jruby --ng -S buildr

Original doc

NOTE: Due to marginal performance using Nailgun vs. recent JRuby releases, this section of documentation was moved here from the website.

"Nailgun":http://www.martiansoftware.com/nailgun/index.html is a client, protocol, and server for running Java programs from the command line without incurring the JVM startup overhead. Nailgun integration is available only when running Buildr within JRuby.

JRuby users need not to create the @dbuildr@ script listed on the previous section, as they can benefit from using a nailgun client to invoke tasks without having to wait for JVM+JRuby to load.

Start the BuildrServer by executing

To stop the BuildrServer simply use Ctrl+C or kill the process.

Once the server has been started you can invoke tasks using the nailgun client
installed on @$JRUBY_HOME/tool/nailgun/ng@

  • No labels