2011-11-07 57 views
0

我与思考 - 狮身人面像越来越2.1.0宝石的错误是:在Lion,Rails 2.3.9,sphinx 0.9.9和Ruby 1.8.7上使用什么版本的思维狮身人面像宝石?

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 

搜索日志为空

,当我尝试手动从bash的运行rake任务,我得到:

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自动下载与思维斯芬克斯宝石2.0.9。

我已经尝试过几乎所有版本的思维狮身人面像和狮身人面像,只是每次尝试都会得到各种错误。

狮身人面像从bash命令行运行很好,但没有从rake任务中移除。我试过这个插件,但这只是抛出了一组不同的错误。如果mac版本更重要,我希望有人知道在狮子上有轨道/谜语/思维狮身人面像和/或狮身人面像版本的组合。

而且我目前的conf如下:多

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 

先感谢您的任何意见。

回答

1

在邮件列表中也回答了这个问题,但仅仅针对其他遇到它的人 - 1.4.10是正确的TS版本(Thinking Sphinx的2.x版本针对Rails 3.x)。