Using nailgun for faster JRuby startup
cd JRUBY_HOME/tool/nailgunIn one terminal window just leave a nailgun server running:
make # I ignored the warning "no debug symbols in executable (-arch x86_64)"
$ jruby --ng-serverWhen you want to run JRuby as a railgun client, try something like:
NGServer started on all interfaces, port 2113.
jruby --ng text-resource.rbOn my MacBook, this cuts about 5 seconds of JRuby startup time off of running this test program.
Sweet. For small programs, using ruby is still faster than jruby but this makes developing with JRuby faster.