Hello Pat!

Thank you for the fast response!  I just got back to this and your
suggestion worked.

KMB

On May 29, 9:49 pm, Pat Allan <[email protected]> wrote:
> Hi Kevin
>
> You'll need to add the following to your environment.rb file:
>
>    ThinkingSphinx::Configuration.instance.model_directories <<  
> "#{RAILS_ROOT}/shared/models"
>
> Hopefully that should get it working as you expect.
>
> Cheers
>
> --
> Pat
>
> On 29/05/2009, at 9:30 AM, Kevin Beck wrote:
>
>
>
> > Does anyone know how to configure the thinking_sphinx:index rake task
> > to find models in a non standard directory?  I have models in
> > RAILS_ROOT/shared/models and I get the error FATAL: no sources found
> > in config file when I run rake ts:in.  If I move the models that
> > define_index into the app/models everything works fine.
>
> > Thank you for your help!
>
> > Kevin Beck
>
>
--~--~---------~--~----~------------~-------~--~----~
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