你知道为什么我在发送入站电子邮件时会在本地主机上收到这个错误吗?
这不是我可以修复的代码的一部分。也许是一些设置?
http://localhost:3000/rails/conductor/action_mailbox/inbound_emails

发布于 2021-05-20 05:31:42
我在添加action_mailbox (依赖于active_storage)之前没有使用active_storage的应用程序中遇到过这种情况。
对我们有效的解决方案是指定一个active_storage配置,如下所示:
config/storage.yml
local:
service: Disk
root: <%= Rails.root.join("storage" %>并引用要加载环境的活动存储配置:
config/environments/development.rb
Rails.application.configure do
# ... other stuff
config.active_storage.service = :local
endhttps://stackoverflow.com/questions/66785583
复制相似问题