Hi Mark config/sphinx.yml does not get created automatically - it's optional. How did you install Sphinx? What's the output when you run `searchd` and `which searchd` on the command line?
-- Pat On 16/12/2011, at 11:53 AM, Mark L. wrote: > Should this be installed when you install the gem? I have an app I am > trying to configure that is running rails 2.3.14, and have installed > both sphinx and thinking sphinx and am trying to run 'rake > db:migrate', and I get the error... > > [jlocklear@jlocklear hls]$ rake db:migrate > Pure ruby mysql.rb driver used! > Cannot find or read /home/jlocklear/railsApps/hls/config/newrelic.yml > > 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 > == AddsomeIndexes: migrating > ================================================= > -- add_index(:cars, :workflow_state, {:name=>"index_workflow_state"}) > rake aborted! > An error has occurred, this and all later migrations canceled: > > PGError: ERROR: relation "cars" does not exist > : CREATE INDEX "index_workflow_state" ON "cars" ("workflow_state") > > Tasks: TOP => db:migrate > (See full trace by running task with --trace) > > -- > You received this message because you are subscribed to the Google Groups > "Thinking Sphinx" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/thinking-sphinx?hl=en. > -- You received this message because you are subscribed to the Google Groups "Thinking Sphinx" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/thinking-sphinx?hl=en.
