来自 Gitpod 的问候!(在 Google Cloud 上安装 + 自动化开发环境配置)

有趣的是,将 db:createdb:migrate 拆分为两个独立的命令(如 Install Discourse on Ubuntu or Debian for Development - #321 中所建议的)也“奏效”了。

(但现在,执行 DISCOURSE_DEV_HOST=.gitpod.io bundle exec rails s -b 0.0.0.0 似乎陷入了崩溃循环,报错如下:

/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)

同时,Web 服务器再次阻止了我的 Gitpod 预览 URL:

Blocked host: 3000-a8a71720-4c30-466b-aea5-5344c97c4e94.ws-eu0.gitpod.io