There will be a temporary service interruption on Saturday Feb. 4th from 2am-4am UTC or 6pm-8pm Friday Feb 3 Pacific Standard Time. We apologize for any inconvenience.
Last updated January 18, 2011 04:53, by qmxme
Feedicon  

JRuby Nailgun Support

JRuby 1.3.0 and later support execution with Nailgun. Nailgun allows you to start up a single JVM as a background server process and toss it commands from a fast native client almost eliminating JRuby's annoyingly slow start up time. To use Nailgun with JRuby:

  1. Download JRuby.
  2. Expand the JRuby archive (source or binary) and change to the distribution directory.
  3. If you are running on UNIX-like OS, build the nailgun server with either:
    1. ant build-ng
    2. cd tool/nailgun; configure; make
    3. cd tool/nailgun; make (JRuby 1.3.x only)
  4. Start the JRuby nailgun server in the background: jruby --ng-server &
  5. You can now run JRuby commands through that server using the jruby --ng command instead of jruby

For more information, read http://blog.headius.com/2009/05/jruby-nailgun-support-in-130.html

Note on development with Nailgun

If you rebuild JRuby, be sure to restart the nailgun server; or else the client will get incorrect results.

  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120127.ac94057)
 
 
Close
loading
Please Confirm
Close