Installation Issue: Create and initialize the database


I am new to the Sharetribe development environment and had problems when installing Community Edition locally.

I am on step 7 of the installation instructions:
Create and initialize the database:

bundle exec rake ts:index

It is giving the following error in the terminal:

rake aborted!
LoadError: cannot load such file -- thinking_sphinx/active_record/database_adapters/mysql_adapter
/mnt/c/sharetribe/config/application.rb:22:in `<top (required)>'
/mnt/c/sharetribe/rakefile:4:in `require'
/mnt/c/sharetribe/rakefile:4:in `<top (required)>'
/home/xiaoyu/.rbenv/versions/2.6.5/bin/bundle:23:in `load'
/home/xiaoyu/.rbenv/versions/2.6.5/bin/bundle:23:in `<main>'

Caused by:

I’m using Ubuntu 20.04 LTS, thinking-sphinx (3.3.0), mysql2 (0.4.10), mysql Ver 14.14 Distrib 5.7.33, and the sphinxsearch is running, database can be connected.

Does anyone know how to solve this?

Thanks very much!