【发布时间】:2010-04-26 17:50:43
【问题描述】:
我刚刚安装了 Sphinx(发行版:archlinux)下载源代码。然后我为 Rails 安装了“Thinking Sphinx”插件。
我关注了official page setup 和this Screencast from Ryan Bates,但是当我尝试索引模型时,它给了我这个错误:
$ rake thinking_sphinx:index
(in /home/benoror/Dropbox/Proyectos/cotizahoy)
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
Generating Configuration to /home/benoror/Dropbox/Proyectos/cotizahoy/config/development.sphinx.conf
sh: indexer: command not found
我尝试手动启动守护进程 (/usr/bin/sphinx-searchd),更改 config/sphinx.yml 文件:
devlopment:
searchd_binary_name: sphinx-searchd
indexer_binary_name: sphinx-indexer
但它显示相同的错误,有什么想法吗?
【问题讨论】:
标签: ruby-on-rails ruby sphinx ruby-on-rails-plugins thinking-sphinx