Migrating an application to another server... upon bundle exec rake ts:configure
rake aborted!
Errno::ENOENT: No such file or directory - ~/app/shared/config/development.sphinx.conf
sphinx.yml states
development:
bin_path: /usr/local/bin
searchd_file_path: ~/app/shared/sphinx
use_64_bit: true
enable_star: 1
min_infix_len: 1
max_matches: 10000
port: 9313
thinking_sphinx.yml states
development:
bin_path: /usr/local/bin
pid_file: ~/app/shared/tmp/searchd.pid
configuration_file: ~/app/shared/config/development.sphinx.conf
indices_location: ~/app/shared/sphinx
use_64_bit: true
enable_star: true
min_infix_len: 2
max_matches: 1000
mysql41: 9313
mem_limit: 128M
I fail to comprehend the message that states that development.sphinx.conf
does not exist as it is supposed to be created from the rake task.
Two components to the answer:
1) make absolute paths
2) indexer on Ubuntu is at /usr/bin
development:
bin_path: /usr/bin
pid_file: /home/mainuser/app/shared/tmp/searchd.pid
configuration_file: /home/mainuser/app/shared/config/development.sphinx.conf
indices_location: /home/mainuser/app/shared/sphinx
[...]
Answer is still partial as indexing captures 0 documents and no .sph
file is generated.