I'm not quite sure what the problem is - I've not seen this before. Normally, if you can run the rake tasks without any warnings, then script/server should be happy as well.
Recent versions of TS look for Sphinx to check the version (instead of having separate gems for 0.9.8 and 0.9.9). -- Pat On 18/03/2010, at 11:41 PM, Gerjan wrote: > If I set this variable the errors disappears. I must say that I > upgraded from an old version of ThinkingSphinx to 1.3.16 recently.. is > this some kind of regression? > > On Mar 18, 12:53 am, Pat Allan <[email protected]> wrote: >> Hi Gerjan >> >> What happens if you set bin_path in your config/sphinx.yml file to >> "/usr/local/bin"? >> >> -- >> Pat >> >> On 18/03/2010, at 10:48 AM, Gerjan wrote: >> >>> I'm using Mongrel, as I said in my previous post. >> >>> Running searchd in the console gives me this: >> >>> $ searchd >>> Sphinx 0.9.9-release (r2117) >>> Copyright (c) 2001-2009, Andrew Aksyonoff >> >>> FATAL: no readable config file (looked in /usr/local/etc/ >>> sphinx.conf, ./sphinx.conf). >> >>> On Mar 17, 10:03 am, lebreeze <[email protected]> wrote: >>>> Hi Gerjan >> >>>> When you launch ./script/server the first line should tell you which >>>> webserver is being used? >> >>>> In this example it's mongrel >> >>>> [lev...@levent-alis-macbook-pro platform (spike/measure_wizard)]$ ./ >>>> script/server >>>> => Booting Mongrel >>>> => Rails 2.3.2 application starting onhttp://0.0.0.0:3000 >> >>>> Also what happens when you try and run searchd from your console? >> >>>> [lev...@levent-alis-macbook-pro platform (spike/measure_wizard)]$ >>>> searchd >>>> Sphinx 0.9.9-release (r2117) >>>> Copyright (c) 2001-2009, Andrew Aksyonoff >> >>>> Cheers >>>> Levent >> >>>> On Mar 16, 1:06 pm, Gerjan <[email protected]> wrote: >> >>>>> I'm using script/server. >> >>>>> The following error message also shows up in the development logs: >> >>>>> "Riddle cannot detect Sphinx on your machine, and so can't determine >>>>> which >>>>> version of Sphinx you are planning on using. Please use one of the >>>>> following >>>>> lines after "require 'riddle'" to avoid this warning. >> >>>>> require 'riddle/0.9.8' >>>>> # or >>>>> require 'riddle/0.9.9'" >> >>>>> On Mar 13, 12:57 am, Pat Allan <[email protected]> wrote: >> >>>>>> Hi Gerjan >> >>>>>> What are you running for script/server? Webrick? Mongrel? Passenger? >> >>>>>> -- >>>>>> Pat >> >>>>>> On 13/03/2010, at 2:16 AM, Gerjan wrote: >> >>>>>>> Hi, >> >>>>>>> When I try to start up my project using script/server, i get the >>>>>>> following error 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 >> >>>>>>> For more information, read the documentation: >>>>>>> http://freelancing-god.github.com/ts/en/advanced_config.html" >> >>>>>>> The strange thing is that running 'rake ts:index' or 'rake ts:rebuild' >>>>>>> works just fine on the command line. >> >>>>>>> Gems installed: >> >>>>>>> rails (2.3.5) >>>>>>> riddle (1.0.10) >>>>>>> thinking-sphinx (1.3.16) >> >>>>>>> Console info: >> >>>>>>>>> ThinkingSphinx::Configuration.instance.controller.sphinx_version >>>>>>> => "0.9.9" >> >>>>>>> Environment info: >> >>>>>>> which searchd >>>>>>> /usr/local/bin/searchd >> >>>>>>> which indexer >>>>>>> /usr/local/bin/indexer >> >>>>>>> -- >>>>>>> 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 >>>>>>> athttp://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 >>> athttp://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. > -- 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.
