Hi Pat thanks it much more clear. However I think you need in Rakefile
require 'thinking_sphinx' and require 'thinking_sphinx/tasks' and if
using delayed deltas (and delayed job for other stuff) you need
require 'delayed/tasks'
require 'thinking_sphinx/deltas/delayed_delta/tasks'

Cheers,
Cyrille

On 2 déc, 02:39, Pat Allan <[email protected]> wrote:
> Hi All
>
> The last few weeks have had some pretty key changes to how to install  
> Thinking Sphinx, so if you're upgrading, you may hit some issues...  
> here's a quick run through:
>
> If you're using a gem, here's the Right Way of adding it to your  
> environment.rb:
>
>    config.gem 'thinking-sphinx', :lib => 'thinking_sphinx'
>
> Do not use the thinking-sphinx-099 gem - Thinking Sphinx will now  
> figure out what version you have automatically, and all functionality  
> is in the one gem.
>
> If you're using delayed or datetime deltas, these are now separate gems:
>
>    config.gem 'ts-delayed-delta', :lib => 'thinking_sphinx/deltas/
> delayed_delta'
>    # or
>    config.gem 'ts-datetime-delta', :lib => 'thinking_sphinx/deltas/
> datetime_delta'
>
> If you're using delayed delta, you also need to add delayed job to  
> that list as well:
>
>    config.gem 'delayed_job'
>
> For no/normal delta approaches, all you need in your Rakefile (beyond  
> the default lines) is this line:
>
>    require 'thinking_sphinx/tasks'
>
> If you're using one of the delta gems as well, then you'll need to  
> require their tasks too:
>
>    require 'thinking_sphinx/deltas/delayed_delta/tasks'
>    # or
>    require 'thinking_sphinx/deltas/datetime_delta/tasks'
>
> If you're using a plugin, you just need to install it as usual, and  
> not add any custom requires to your environment file (the temporary  
> 0.9.9 requires are no longer valid). You will need to install the  
> delta gems if you were using those delta approaches, though.
>
> And of course, if you get stuck, just let me know via the list, email,  
> or twitter.
>
> Cheers
>
> --
> Pat
> e: [email protected]      || 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 [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