Add the gem to application's Gemfile:
gem 'mina-thinking-sphinx', require: false
Run
bundle install
Add line to deploy.rb
require 'mina/ts'
Use commands in deploy.rb
:
task :deploy do
deploy do
...
on :launch do
invoke :'ts:rebuild'
end
end
end
ts:start
ts:stop
ts:restart
ts:rebuild
ts:index
ts:configure
ts:rt:rebuild
ts:rt:index
See Thinking Sphinx Tasks documentation for details.