2

我正在使用Rails 5.2.0Ruby 2.5.1p57

我已经在我的 Rails 应用程序中引入了 Rails ActiveStorage。如果我直接使用 AWS 密钥,我可以向 S3 上传/下载文件。

当我在命令下运行时

EDITOR="subl --wait" rails credentials:edit

1:来自/home/nishant/.rvm/gems/ruby-2.5.1@creative_automation/gems/activesupport-5.2.0/lib/active_support/message_encryptor.rb:157:in decrypt_and_verify' /home/nishant/.rvm/gems/ruby-2.5.1@creative_automation/gems/activesupport-5.2.0/lib/active_support/message_encryptor.rb:190:in_decrypt':ActiveSupport::MessageEncryptor::InvalidMessage (ActiveSupport::MessageEncryptor::InvalidMessage)

这不是我的 ubuntu 系统或 gemset 特定问题,因为我在其他机器上尝试过同样的事情,但它仍然无法正常工作。

提前致谢。

4

0 回答 0