我看到同样的问题。这是由于最近一些更改以使用 Rails Zeitwerk 导致的。我正在研究如何修复这个问题。
在此期间,你可以这样做:
$ createdb discourse_development
作为替代方案。