ThinkingSphinx::SphinxError when using with Mac OS

Unknown MySQL error - SELECT * FROM listing_core, listing_delta WHERE MATCH(‘test’) AND community_id = 1 AND sphinx_deleted = 0 ORDER BY sort_date DESC LIMIT 0, 24 OPTION field_weights=(title=10, category=8, description=3), max_query_time=1000; SHOW META

I am getting this error I did
bundle exec rake ts:index
bundle exec rake ts:start

when I run brew install sphinx --with-mysql I shows me error invalid parameters --with-mysql.

I am using mysql v8, and Mac OS…