I am using my rails application in ubuntu12.04. I just installed thinkingsphinx and sphinx using these commands.
sudo apt-get install sphinxsearch
sudo gem install thinking-sphinx
But thinking-sphinx version is 1.4.11 but i want 1.3.20. So i installed thinking-sphinx with version as 1.3.20. After that i started indexing through rake ts:index
But i am getting this error.
rake/rdoctask is deprecated. Use rdoc/task instead (in RDoc 2.4.2+)
Please install RDoc 2.4.2+ to generate documentation.
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
rake aborted!
uninitialized constant MysqlCompat::MysqlRes
Tasks: TOP => environment
(See full trace by running task with --trace)
I searched regarding this issue.. and after that I modified my config/sphinx.yml file as
development:
bin_path: "/usr/bin"
searchd_binary_name: searchd
indexer_binary_name: indexer
port: 9110
morphology: stem_en
enable_star: true
html_strip: 1
min_infix_len: 2
and i installed sudo gem install mysql also.
Still the problem is not resolved..
Please can anyone suggest ideas to resolve this problem..
Thanks a lot in advance.