在开发中连接Sphinx MySQL时出现问题

在开发中连接Sphinx MySQL时出现问题,mysql,ruby-on-rails,ruby,ruby-on-rails-3,thinking-sphinx,Mysql,Ruby On Rails,Ruby,Ruby On Rails 3,Thinking Sphinx,我的Rails应用程序中安装了Thinking Sphinx。在Heroku一切正常,但在本地我无法启动和运行任何东西 当我尝试运行rake ts:index时,我得到 sh: indexer: command not found 当我尝试使用应用程序中的搜索功能时,我得到 Error connecting to Sphinx via the MySQL protocol. Error connecting to Sphinx via the MySQL protocol. Can't con

我的Rails应用程序中安装了Thinking Sphinx。在Heroku一切正常,但在本地我无法启动和运行任何东西

当我尝试运行rake ts:index时,我得到

sh: indexer: command not found
当我尝试使用应用程序中的搜索功能时,我得到

Error connecting to Sphinx via the MySQL protocol. Error connecting to Sphinx via the MySQL protocol. Can't connect to MySQL server on '127.0.0.1' (61) - SELECT * FROM `book_core` WHERE MATCH('economics') AND `sphinx_deleted` = 0 LIMIT 0, 20 OPTION field_weights=(title=16,author=7); SHOW META

谢谢你的帮助

听起来你好像没有安装斯芬克斯本身:

如果您确实安装了它,但它仍然没有接收到任何东西,那么可能可执行文件不在您的
路径
环境变量中