I've been trying to set up Sphinx and Thinking Sphinx for a RoR
project of mine. Firstly, I'm running Ubuntu Server 9.10 w/ Rails 3 and
have successfully installed Sphinx. It can connect to MySQL and index my
root@edison:/home/jmiller# /usr/local/sphinx/bin/indexer --all
Sphinx 0.9.9-release (r2117)
Copyright (c) 2001-2009, Andrew Aksyonoff
using config file '/usr/local/sphinx/etc/sphinx.conf'...
indexing index 'test_specs'...
collected 2 docs, 0.0 MB
sorted 0.0 Mhits, 100.0% done
total 2 docs, 394 bytes
total 0.005 sec, 76267 bytes/sec, 387.14 docs/sec
total 2 reads, 0.000 sec, 0.3 kb/call avg, 0.0 msec/call avg
total 7 writes, 0.000 sec, 0.4 kb/call avg, 0.0 msec/call avg
Ok. Now I've been trying to get the Thinking Sphinx gem (with
instructions for Rails 3) to work, but no luck. I used these
instructions: http://freelancing-god.github.com/ts/en/rails3.html . I
also can confirm that the gem is installed (thinking-sphinx (2.0.2)).
However, this is supposed to generate some sort of sphinx.yml file, but
no such file exists. When I try to use the Thinking Sphinx rake tasks or
start my server, I get this message:
Sphinx cannot be found on your system. You may need to configure the
settings in your config/sphinx.yml file:
...but that config/sphinx.yml doesn't exist... I do have a file called
development.sphinx.conf, but thats it. Can anyone point me in the right
direction here? I've been trying to get this going for a few days now...
Thanks in advance! Any and all help is appreciated!