How to run rake thinking_sphinx:index in test environment?


I tried ‘rake thinking_sphinx:index RAILS_ENV=test’

but it throws following error

F:\test_sarasaves\sarasaves>rake thinking_sphinx:index RAILS_ENV=test
(in F:/test_sarasaves/sarasaves)
Generating Configuration to F:/test_sarasaves/sarasaves/config/
Sphinx 0.9.8-release (r1533)
Copyright © 2001-2008, Andrew Aksyonoff

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

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