已升级到 Rails 5.2.0,但未创建 storage.yml

Upgraded to Rails 5.2.0, but no storage.yml created

我按照 this tutorial 将现有应用程序升级到 rails 5.2.0。在我的 gem 文件中包含 rails 5.2.0 并在本地安装它之后,在 bundle update 和 bundle install 和 运行

之后
rails active_storage:install

然后 rake db:migrate

我在我的应用程序中没有看到 storage.yml 文件。

有没有其他人遇到过这种情况?

上述教程的一位作者就此主题回复了我的电子邮件,他说 storage.yml 不是在现有应用程序中生成的。他建议手动创建文件并粘贴 Active Storage 文档中的代码,或者尝试在临时文件夹和 cut/paste storage.yml 文件中生成一个新应用程序。