>tsuraan wrote: >> All the NG stuff is in JRuby trunk right now. Give it a shot. I'm >> interested in hearing opinions on it. >> >> >>I haven't had a look yet, but I'm wondering how things work with multiple >>running instances. Can you run a dozen concurrent irb sessions and not have >>them stomp over each other? Will each of the sessions be running in its own >>thread by default, so multiple processors are used by multiple ng-initiated >>processes? > >Yes and yes, with a caveat: IRB installs a signal trap, so it doesn't work >*quite* right inside NG right now. That will require some hacking on NG to >repair.
I couldn't get nailgun working with trunk jruby. At 9:43 PM -0600 11/6/07, Charles Oliver Nutter wrote: >To try it out in JRuby: > >1. check out JRuby trunk at http://svn.codehaus.org/jruby/trunk/jruby >1.5. build JRuby with "ant" >2. run 'make' from within bin/nailgun nailgun has moved to ./tools/nailgun: $ find . -name nailgun -print ./tool/nailgun $ cd tool/nailgun/ $ make Building ng client. To build a Windows binary, type 'make ng.exe' gcc -Wall -pedantic -s -O3 -o ng src/c/ng.c [~/dev/jruby_trunk/jruby/tool/nailgun]$ ls -l total 152 -rw-r--r-- 1 stephen stephen 877 Nov 9 01:15 Makefile -rw-r--r-- 1 stephen stephen 375 Nov 9 01:15 README.txt -rw-r--r-- 1 stephen stephen 25685 Nov 9 01:15 nailgun-0.7.1.jar -rwxr-xr-x 1 stephen stephen 21908 Nov 18 01:54 ng -rw-r--r-- 1 stephen stephen 15360 Nov 9 01:15 ng.exe drwxr-xr-x 5 stephen stephen 170 Nov 9 01:15 src >3. start up a server with jruby-ng-server $ cd - /Users/stephen/dev/jruby_trunk/jruby $ jruby-ng-server Exception in thread "main" java.lang.NoClassDefFoundError: com/martiansoftware/nailgun/NGServer >4. instead of 'jruby' run 'jruby-ng'. -J options are not passed on. couldn't get this far ... --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
