daemons

P

Phy Prabab

Hello,

I know people have probably had success with daemons, however, I am running into issues. A simple script to daemonize another script fails w/
./daemonize.rb run
/usr/local/jruby-1.1.4/lib/ruby/gems/1.8/gems/daemons-1.0.10/lib/daemons/daemonize.rb:122:in `each_object': ObjectSpace is disabled; each_object will only work with Class, pass +O to enable (RuntimeError)
cat daemonize.rb
#!/usr/bin/env ruby

require 'rubygems'
require 'daemons'

Daemons.run('scaleMatrix.rb')

# end

I am far from an expert on Ruby so I must be dong something wrong. Any suggestions?



__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top