#!/usr/bin/env ruby require 'rubygems' require 'nailgun' Nailgun::NailgunConfig.options = { :java_bin => "java", :server_address =>'localhost', :port_no=>'2114' } Nailgun::NailgunServer.new(ARGV).daemonize