This problem occurs when the server cannot find the appropriate database on which the receipt of data depends.
I had the same problem on my part, I updated my version of Sqlite3, and it was higher than the version supported by the current version of Puma Server.
I just had to uninstall the version of Sqlite3, and then install the version supported by the current version of Puma Server.
gem uninstall sqlite3
This will remove the updated version of Sqlite3, and then you will run the code below indicating the version supported by your current server.
gem install sqlite3
Or you can also open your Gemfile and then enable the version for the database you are using
gem 'sqlite3', '~> 1.3.6'
N / B: sqlite3 version is the latest version at the time of writing this answer
And then run
bundle update
Install the version of the database that you specified.
All this.
Hope this helps.
source share