Thursday, March 17, 2016

SQLite3::ReadOnlyException: attempt to write a readonly database

This happened when the rake tasks were run in one command:

rake db:drop db:migrate db:seed

Solution: Run the commands individually.