Search code examples
rspecthinking-sphinx

"no enabled local indexes to search" when run rspec


I'm trying to run some specs, but I'm receiving the error:

ThinkingSphinx::SphinxError:
       no enabled local indexes to search

Solution

  • I forgot to set the username/password for test database in config/database.yml. After that, it works