2012-01-28 217 views
0

我想通過思維 - 獅身人面像來做一個使用獅身人面像的Rails 3應用程序。在我的Gemfile:思維獅身人面像找不到獅身人面像

gem 'thinking-sphinx', '2.0.10' 

當我做一個Rails服務器,這裏的錯誤,我得到:

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: 
    bin_path: "/usr/local/bin" 
    searchd_binary_name: "/usr/local/bin/searchd" 
    indexer_binary_name: "/usr/local/bin/indexer" 
test: 
    bin_path: "/usr/local/bin" 
    searchd_binary_name: "/usr/local/bin/searchd" 
    indexer_binary_name: "/usr/local/bin/indexer" 
production: 
    bin_path: "/usr/local/bin" 
    searchd_binary_name: "/usr/local/bin/searchd" 
    indexer_binary_name: "/usr/local/bin/indexer" 

回答

0

原來,這是當安裝不正確獅身人面像,這是問題出現錯誤。