Testing configuration proglem

0 views
Skip to first unread message

pmlarocque

unread,
Nov 20, 2009, 12:10:33 PM11/20/09
to Thinking Sphinx
Hello,

I am trying to test my search and when I am doing :

ThinkingSphinx::Test.index I get the following error

command not found: indexer --config [...]/config/test.sphinx.conf --
all

but if I do rake ts:in RAILS_ENV=test all is good.

same thing for start command.

I added the
require 'thinking_sphinx/test'
ThinkingSphinx::Test.init

to test_helper.rb

Thanks!

Pat Allan

unread,
Nov 25, 2009, 12:08:28 AM11/25/09
to thinkin...@googlegroups.com
What's the output of the following in a shell: which indexer

Also, what do you have in your sphinx.yml file?

--
Pat
> --
>
> 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=
> .
>
>

Reply all
Reply to author
Forward
0 new messages