我使用 railsinstaller 将 rails 安装到 OS Windows 中。为了处理项目,我使用 Aptana。我想在我的项目中使用 gem "thinking-sphinx", "~> 2.0.13"。
当我开始索引时 - rake thinking_sphinx:index - 我有一个错误
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
狮身人面像.yml
development:
port: 9312
config_file: "RAILS_ROOT/config/development.sphinx.conf"
searchd_log_file: "RAILS_ROOT/log/searchd.log"
query_log_file: "RAILS_ROOT/log/searchd.query.log"
pid_file: "RAILS_ROOT/log/searchd.development.pid"
bin_path: '/usr/local/bin'
searchd_binary_name: 'searchd'
indexer_binary_name: 'indexer'
test:
port: 9313
production:
port: 9312
如何在 Windows 中通过 gem 使用 sphinx?