title: Sphinx cannot be found on your system.
body: <p>I am using my rails application in ubuntu12.04. I just installed thinkingsphinx and sphinx using these commands.</p>
  
  <pre><code>sudo apt-get install sphinxsearch    
  sudo gem install thinking-sphinx
  </code></pre>
  
  <p>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</p>
  
  <p>But i am getting this error.</p>
  
  <pre><code>    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 =&gt; environment
  (See full trace by running task with --trace)
  </code></pre>
  
  <p>I searched regarding this issue.. and after that I modified my config/sphinx.yml file as</p>
  
  <pre><code>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
  </code></pre>
  
  <p>and i installed sudo gem install mysql also. </p>
  
  <p>Still the problem is not resolved..</p>
  
  <p>Please can anyone suggest ideas to resolve this problem..</p>
  
  <p>Thanks a lot in advance.</p>