I'm not sure why but TS3 doesn't seem to be creating a proper configuration 
file when ThinkingSphinx::Test.init is run in Cucumber; this causes searchd 
to not be able to start, and the test fails.

When I run the following manually through the console, searchd starts:

rake ts:configure RAILS_ENV=cucumber
rake ts:start RAILS_ENV=cucumber

However, when I run it through cucumber, I get:

Failed to start searchd daemon. Check 
/Users/daniel/RubymineProjects/talentnest/log/cucumber.searchd.log.
Failed to start searchd. Check the log files for more information.

The configuration file generated in cucumber looks like:

indexer
{
}

searchd
{
  listen = localhost:9315
  log = /Users/daniel/RubymineProjects/talentnest/log/searchd.log
  query_log = 
/Users/daniel/RubymineProjects/talentnest/log/searchd.query.log
  pid_file = 
/Users/daniel/RubymineProjects/talentnest/log/searchd.cucumber.pid
  max_matches = 25000
}

As you can see, no indexes are defined. When running rake ts:configure as 
above, it adds indexes to the config.

-- 
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/thinking-sphinx.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to