![](/img/trans.png)
[英]When intergrating Active Storage and Google Cloud Storage, is the "project" key in storage.yml really necessary?
[英]Upgraded to Rails 5.2.0, but no storage.yml created
我按照本教程將現有應用程序升級到 rails 5.2.0。 在我的 gem 文件中包含 rails 5.2.0 並在本地安裝之后,以及在 bundle update 和 bundle install and running 之后
rails active_storage:install
然后rake db:migrate
我在我的應用程序中沒有看到 storage.yml 文件。
有沒有其他人經歷過這種情況?
上述教程的一位作者回復了我關於這個主題的電子郵件,他說 storage.yml 不是在現有應用程序中生成的。 他建議手動創建文件並粘貼 Active Storage 文檔中的代碼,或者嘗試在臨時文件夾中生成一個新應用程序並剪切/粘貼 storage.yml 文件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.