really really interesting - so apparently Ubuntu doesn't set up a host
entry for localhost so it wasn't resolving off of /etc/hosts

I added it in there, but also added an address configuration of
127.0.0.1 in my sphinx.yml and I was good to go.

On Jun 30, 10:45 am, Dan Pickett <[email protected]> wrote:
> I have some cucumber scenarios that are like integration tests with Sphinx.
> I think I might have some kind of path issue. I am using REE on Ubuntu
>
> When I run the scenarios for thinking sphinx itself on this machine, the
> "Given Sphinx is running" step passes, but the "Then I should get x result"
> scenarios get the following error.
>
> Connection to Sphinx Daemon (searchd) failed.
> (ThinkingSphinx::ConnectionError)
>       ./features/support/../../lib/thinking_sphinx/search.rb:477:in
> `search_results'
>       ./features/support/../../lib/thinking_sphinx/search.rb:364:in `search'
>       ./features/support/../../lib/thinking_sphinx/search.rb:388:in `call'
>
> I've confirmed in console that I can perform a search when sphinx is
> running, but it seems like the cucumber runner (or the riddle client it
> creates) doesn't see searchd.
>
> In ruby-debug I invoked the client directly and got Errno::ECONNREFUSED
> after invoking the following Riddle::Client.new(nil, 3320).query("test")
>
> Any ideas? It would be really, really awesome if I could figure this out,
> but I'm kind of stumped.
>
> Thanks in advance,
> --
> =========================
> Dan Pickett
> Principal
> Enlight Solutions, Inchttp://EnlightSolutions.com
>
> http://www.twitter.com/dpickett
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Thinking Sphinx" 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/thinking-sphinx?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to