In trying to come up with a test app that fails for you, I seem to have 
gotten my app to work (there were some things that have changed between TS2 
and TS3 that may have caused the problem). Can you confirm/address the 
following:

   1. require 'cucumber/thinking_sphinx/external_world' is no longer 
   necessary / doesn't exist. Is there a different file that needs to be 
   required for cucumber?
   2. ThinkingSphinx.sphinx_running? no longer exists - is there a 
   replacement?
   3. Is there any way to add Sphinx output to the rails console?


On Saturday, August 3, 2013 4:37:02 AM UTC-4, Pat Allan wrote:
>
> This sounds vaguely familiar, but I can't remember when I've previously 
> seen this issue. Is it possible for you to create a test app that can 
> reproduce the problem that I can then use to fix things? 
>
> -- 
> Pat 
>
> On 03/08/2013, at 3:39 AM, Daniel Vandersluis wrote: 
>
> > 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/project/log/searchd.log 
> >   query_log = /Users/daniel/project/log/searchd.query.log 
> >   pid_file = /Users/daniel/project/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] <javascript:>. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/thinking-sphinx. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> >   
> >   
>
>

-- 
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