【问题标题】:Installing Sphinx on Railsinstaller在 Railsinstaller 上安装 Sphinx
【发布时间】:2012-12-27 09:29:47
【问题描述】:

我使用 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

Sphinx.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?

【问题讨论】:

    标签: ruby-on-rails windows sphinx thinking-sphinx railsinstaller


    【解决方案1】:

    Sphinx 不是一个 gem,而是一个独立的程序,认为 sphinx 是一个接口。

    Windows 安装 ripon 说明在 sphinx 网站上 - http://sphinxsearch.com/docs/1.10/installing-windows.html

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-08-02
      • 1970-01-01
      • 2012-01-16
      • 2011-09-09
      • 1970-01-01
      • 2013-02-25
      • 2013-06-02
      相关资源
      最近更新 更多