Just a quick note to say that I've released a branch that supports Rails 3. You'll need to clone, then run 'rake build' to generate it (and will need RSpec 2.0 beta installed). It needs some cleaning up, but I think it should work in standard situations, except for polymorphic associations in fields and attributes. That'll come later. Thank you to those who gave me a fantastic headstart with their patches.
http://github.com/freelancing-god/thinking-sphinx/tree/rails3
I've not yet tested the delta gems or raspell gem... patience :)
Also, it's worth noting the following:
* This branch supports only Rails 3, not Rails 2 or older.
* So, going forward, TS 2.x will support Rails 3.x
* TS 1.x will continue to support Rails 2.x
* TS 1.4.0 and onwards will *not* support Rails 1.x
Once I clean this all up I will release TS 2 as a pre-release gem, but for now, grabbing the source is the best way to go.
Oh, and remove the "require 'thinking_sphinx/tasks'" from your Rakefile - Rails 3 now has hooks for gems to provide details about rake tasks, so it now happens automatically - just like as if you installed it as a plugin (or in Merb, which has had these hooks for a long time).
Please, if you have any issues, let me know :)
Cheers
--
Pat
e: p...@freelancing-gods.com || m: +614 1327 3337
w: http://freelancing-gods.com || t: twitter.com/pat
bounce: http://trampolineday.com || skype: patallan
--
You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group.
To post to this group, send email to thinkin...@googlegroups.com.
To unsubscribe from this group, send email to thinking-sphi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
How are you installing it? How is it not working?
From what I've heard via other channels, it seems to be working fine for others.
--
Pat
--
Pat
You shouldn't need the require statement in the Rakefile - Rails 3 has some rake task hooks for gems, so it's not necessary. That said, you shouldn't be seeing the define_index error either.
You may need to add the following to the gem declaration in your Gemfile - :require => 'thinking_sphinx' - that should get Thinking Sphinx loading correctly.
Cheers
--
Pat