daemon-kit
daemon-kit copied to clipboard
Error while launching by JRuby on Windows 7
Hi, Kennethkalmer
I encounter an error while starting the daemon process, the error code is as follow:
{code} c:/jruby-1.5.3/lib/ruby/gems/1.8/gems/daemon-kit-0.1.8.1/lib/daemon_kit/applicat ion.rb:183:in `each_object': ObjectSpace is disabled; each_object will only work with Class, pass -X+O to enable (RuntimeError) {code}
by default, the objectspace does not enable in JRuby, so I added "JRuby.objectspace = true" before launching it, I think it's better to add this to README of fix this in the source code.
@n5ken - where did you add JRuby.objectspace = true ?
I'm not too sure about running daemon-kit on Jruby, honestly. Will do some more digging. This still an issue? Any more information to report?