Hi Stan The 2.x releases of Thinking Sphinx are for Rails 3.x - you should try the latest 1.4 release of TS instead (1.4.10). Not sure if that'll fix the warning message, but it's definitely going to be a good step forward.
Actually, just reading Cody's email - his suggestion should sort the warning out. An alternative is to add that bin path as the bin_path setting in config/sphinx.yml under the development environment settings (you'll need to create the file if you haven't already, and the structure is much like database.yml). Let us know how you go. Cheers -- Pat On 07/11/2011, at 6:14 PM, Stan Malone wrote: > The error I'm getting with the thinking-sphinx 2.1.0 gem is: > > 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 > > sh: searchd: command not found > Failed to start searchd daemon. Check /var/log/searchd.log. > Failed to start searchd daemon. Check /var/log/searchd.log > Be sure to run thinking_sphinx:index before thinking_sphinx:start > > Search log is empty > > and when I try to manually run rake task from bash I get: > > rake aborted! > Unable to activate thinking-sphinx-2.0.10, because activerecord-2.3.9 > conflicts with activerecord (>= 3.0.3) > > activerecord 3.0.3 downloaded with the thinking-sphinx gem 2.0.9 > automatically. > > I have tried almost every version of thinking sphinx, sphinx and riddle and > just get various errors with every attempt. > > Sphinx runs great from a bash command line, but no go from the rake tasks. I > have tried the plugin, but that just throws a different set of errors. I am > hoping someone knows of a combination of rails / riddle / thinking-sphinx and > or sphinx versions on mac lion, if mac version even matters. > > And my current conf is as follows: > > development: > bin_path: /usr/local/Cellar/sphinx/0.9.9/bin > searchd_binary_name: searchd > indexer_binary_name: indexer > enable_star: true > enable_star: true > morphology: stem_en > html_strip: true > min_infix_len: 3 > port: 9310 > sql_range_step: 10000000 > min_infix_len: 3 > > Thanks much in advance for any advice. > > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/thinking-sphinx/-/1ksTVaXR_EEJ. > 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. -- 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.
