Are you killing the rake tasks' processes somewhere else in the deployment? Or are you adding another rake process every time you deploy (so they pile up)? and if you are killing the process, is there any chance it's happening after the thinkingsphinx:dd capistrano task?
And you're checking that the rake task is starting up successfully (checking for rake ts:dd in your process list)? Sure it's starting up for the right env? Or are you saying that the rake task does start up but seems to die immediately? Apologies if this seems an unhelpful reply (but I know I've been hit by little mistakes I've made in capistrano that had me stumped for hours, so had to ask some of the obvious questions), bp On Dec 10, 3:09 am, Simon <[email protected]> wrote: > Hi > > I have Thinking Sphinx setup and working however I am having a problem > getting the Delayed Job rake tasks to start during deployment. > > I have the following task in deploy.rb which appears to execute, > however the delayed jobs are not processed - they stack up until I run > rake ts:dd from the server command line: > > namespace :thinkingsphinx do > desc 'Start Delayed Job Sphinx delta indexing' > task :dd do > run "cd #{current_path} && rake ts:dd RAILS_ENV=#{rails_env} &" > end > end > > How can I get the delayed jobs rake tasks to start from the deployment > script? > > Thanks > > Simon -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
