Hello everybody,
  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
model:

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
following
settings in your config/sphinx.yml file:
  * bin_path
  * searchd_binary_name
  * indexer_binary_name

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

- Jeff

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to