Displaying 4 results from an estimated 4 matches for "swistak".
Did you mean:
sw_stat
2007 Jan 23
0
Error while creating one worker from another
.../slave.rb:138:in `method_missing''
/var/lib/gems/1.8/gems/slave-1.2.0/lib/slave.rb:211:in
`close_unused_sockets_after_forking''
/var/lib/gems/1.8/gems/slave-1.2.0/lib/slave.rb:204:in `catch''
/var/lib/gems/1.8/gems/slave-1.2.0/lib/slave.rb:355:in `initialize''
/home/swistak/rails+backgroundrb/vendor/plugins/backgroundrb/server/lib/back
groundrb/middleman.rb:210:in `new''
/home/swistak/rails+backgroundrb/vendor/plugins/backgroundrb/server/lib/back
groundrb/middleman.rb:210:in `new_worker''
/home/swistak/rails+backgroundrb/vendor/plugins/backgroundrb/s...
2007 Jan 22
1
Strange behavior
...e class from RailsBase to Base i can''t access MiddleMan
- i get error
NameError: uninitialized constant MiddleMan
from (drbunix:///tmp/backgroundrbunix_localhost_2999)
(drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
bb0_0_0.446368947706132)
/home/swistak/rails+backgroundrb/config/../vendor/rails/activerecord/lib/../
../activesupport/lib/active_support/dependencies.rb:123:in `const_missing''
from (drbunix:///tmp/backgroundrbunix_localhost_2999)
(drbunix:///tmp/backgroundrb.8388/first_worker_30fe4904c2222fa80e54b58d587d7
bb0_0_0.446...
2007 Jan 22
1
MiddleMan behavior
...nDRb::MiddleMan.worker(@second)
yields:
NoMethodError: undefined method `worker'' for BackgrounDRb::MiddleMan:Class
from (drbunix:///tmp/backgroundrbunix_localhost_2999)
(drbunix:///tmp/backgroundrb.8516/first_worker_c6824af92d0ae35bcbba75df4e282
b6f_0_0.158526073008825)
/home/swistak/rails+backgroundrb/lib/workers/first_worker.rb:26:in
`get_second_ref''
from (irb):223
from :0
2007 Jan 22
0
Creating workers from workers, calling functions
Anyone have idea, what''s the best way to run one workers from another, and
call functions betwen them ?