Testing thinking_sphinx

hello All,

I am using thinking_sphinx for search method , i am writing testing
for it,
but when i try to run it in test environment it gives me following error

D:\sarasaves>rake thinking_sphinx:index RAILS_ENV=test
(in D:/sarasaves)
Generating Configuration to D:/sarasaves/config/test.sphinx.conf
Sphinx 0.9.8-release (r1371)
Copyright © 2001-2008, Andrew Aksyonoff

using config file ‘D:/sarasaves/config/test.sphinx.conf’…
FATAL: no sources found in config file.
rake aborted!
The following command failed:
indexer --config D:/sarasaves/config/test.sphinx.conf --all

This could be caused by a PATH issue in the environment of
cron/passenger/etc. Y
our current PATH:
c:\program files\imagemagick-6.4.8-q8;C:\Program
Files\JavaFX\javafx-sdk1.1\bi
n;C:\Program
Files\JavaFX\javafx-sdk1.1\emulator\bin;c:\ruby\bin;C:\WINDOWS\syst
em32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program
Files\TortoiseSVN\bin;C:\Pro
gram Files\MySQL\MySQL Server 5.0\bin;C:\Program Files\Microsoft SQL
Server\90\T
ools\binn
You can set the path to your indexer and searchd binaries using the
bin_path pro
perty in config/sphinx.yml:
production:
bin_path: ‘/usr/local/bin’

(See full trace by running task with --trace)

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs