Here's something I spent a long time debugging, so I'm making this gist to help others find the solution when searching.
postgres 12 on MacOS will cause crashes when forking. The solution is to do one of these two things:
- add
gssencmode: "disable"
to database.yml - if using homebrew: uninstall postgres, update homebrew, reinstall postgres
Here's some discussion: