Interestingly, splitting db:create
and db:migrate
into two separate commands, as suggested in Beginners Guide to Install Discourse on Ubuntu for Development, also “worked”.
(But now, DISCOURSE_DEV_HOST=.gitpod.io bundle exec rails s -b 0.0.0.0
seems to crash-loop with:
/workspace/.rvm/gems/activesupport-6.0.0/lib/active_support/dependencies.rb:551:in `load_missing_constant': Unable to autoload constant Version, expected /workspace/discourse/lib/version.rb to define it (LoadError)
and the web server started blocking my Gitpod preview URL again:
Blocked host: 3000-a8a71720-4c30-466b-aea5-5344c97c4e94.ws-eu0.gitpod.io
)