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.


Reply via email to