Installing Thinking Sphinx
At the time of writing, Thinking Sphinx v4 supports ActiveRecord v3.2 through to v5.2. Installation instructions depend on whether you’re using Rails or a different framework (such as Sinatra):
Please refer to the older documentation for versions that support ActiveRecord 3.1 or earlier.