# Testing thinking\_sphinx

**URL:** <https://www.ruby-forum.com/t/testing-thinking-sphinx/174389>\
**Category:** Rails\
**Created:** [August 26, 2009, 7:40am UTC](https://www.ruby-forum.com/t/testing-thinking-sphinx/174389 "2009-08-26T07:40:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nilez](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/n/34f0e0/32.png) [@nilez](https://www.ruby-forum.com/u/nilez)\
**Post date:** [August 26, 2009, 7:40am UTC](https://www.ruby-forum.com/t/testing-thinking-sphinx/174389/1 "2009-08-26T07:40:57Z")

</div>

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)
