开发者

Sphinx using postgreSQL and Rails on Mac OS X

开发者 https://www.devze.com 2023-03-08 06:24 出处:网络
I have been trying to figure this out for the past day and figure it is an easy question for those who know Sphinx.I have Sphinx installed at /Users/gabemcmillan/src/sphinx-0.9.9/ and in my sphinx.yml

I have been trying to figure this out for the past day and figure it is an easy question for those who know Sphinx. I have Sphinx installed at /Users/gabemcmillan/src/sphinx-0.9.9/ and in my sphinx.yml file I have the entry below, which is what another post said to do, but I don't think its the right bin path. I am confused which bin path to point to. I checked the spinx-0.9.9 directory and dont see a bin path, so I don't know where to point to.

sphinx.yml file:

development: bin_path: '/usr/local/bin'

Error I get when trying to run: 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

For more information, read the documentation: http://freelancing-god.github.com/ts/en/advanced_config.html Generating Configuration to /Users/gabemcmillan/rails_projects/pa1/config/development.sphinx.conf sh: /usr/local/bin/indexer:开发者_如何学JAVA No such file or directory


When you say you have installed sphinx at /Users/gabemcmillan/src/sphinx-0.9.9 I get the feeling you mean you unpacked it there. You still need to build and install it. Look in /Users/gabemcmillan/src/sphinx-0.9.9doc/sphinx.html for instructions. BTW you will probably need to install the Developer tools which you can get from your snow-leopard installation disk.

0

精彩评论

暂无评论...
验证码 换一张
取 消