Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
daemons
Phy Prabab
10/20/2008 3:54:00 PM
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...
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
daemons
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password