1、 add such in Gemfile: gem 'delayed_job_active_record'
gem "ts-delayed-delta",
"~> 2.0.0"
2、rails g delayed_job
rails g delayed_job:active_record, and output is:
identical script/delayed_job
chmod script/delayed_job
create db/migrate/20130809045412_create_delayed_jobs.rb
3、rake db:migrate
4、script/delayed_job start
5、rake jobs:work
6、rake ts:index
7、rake ts:start
8、INSERT INTO a record
9、search, but I did get nothing. but I run rake ts:index, I can search a
record too. what's wrong with it? Thanks!
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.