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 (c) 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)
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to