Just to follow up on this, my solution was to override the TS rake
method to sudo as my deprec app_user:

namespace :thinking_sphinx do
  def rake(*tasks)
    tasks.each do |t|
      run "cd #{current_path} && #{sudo :as => app_user} rake #{t}
RAILS_ENV=production"
    end
  end
end

If there is one day a TS recipe for deprec, maybe this is it.

best,
Carl

--~--~---------~--~----~------------~-------~--~----~
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