Displaying 2 results from an estimated 2 matches for "loaded_worker_classes".
2007 Feb 05
3
Deploying to production with backgroundrb (capistrano)
...i have 2 lines
run "#{current_path}/script/backgroundrb stop"
run "#{current_path}/script/backgroundrb start"
that should stop the server and restart it.
after the deploy, i have started sshing in tot he box and running
script/backgroundrb console
and checking the loaded_worker_classes
about 50% of the time, its empty. no classes loaded.
if i manually run those commands, it starts and they load. identical
command. different (and upredictable) results.
how would i go about ensuring that when i deploy that backgroundrb
restarts properly? ideally i will only be restarting b...
2007 Feb 05
1
Deploying with capistrano issue. Resolution !
...ckgroundrb stop"
run "#{current_path}/script/backgroundrb start"
end
here is the console post deploy on the remote server
########
[current]$ script/backgroundrb console
irb: warn: can''t alias jobs from irb_jobs.
irb(#<BackgrounDRb::MiddleMan:0xb7b74088>):001:0> loaded_worker_classes
=> []
irb(#<BackgrounDRb::MiddleMan:0xb7b74088>):002:0> exit
Now ill stop it and start it again on the remote server
########
[current]$ script/backgroundrb stop
[current]$ script/backgroundrb start
[current]$ script/backgroundrb console
irb: warn: can''t alias jobs from irb_jo...