While running bundle install
trying to update some other gem, Thinking Sphinx was updated to version 3.0.5 from 3.0.3.
I now get the following error on Heroku:
Mysql2::Error: Can't connect to MySQL server on '127.0.0.1' (111)
Sphinx works fine locally, but any searches on Heroku result in this error. Of course, on Heroku it should not be attempting to connect to localhot but rather to the Sphinx add-on.
What changed in version 3.0.5 and how can I fix it?
Also, how can I protect my app against these kinds of things without staing forever in version 3.0.3?