小编Yuv*_*wal的帖子

无法解密 config/credentials.yml.enc

我正在将 Heroku 与 Rails 6 和 Postgres 一起使用。我试图用来heroku open启动应用程序,但构建失败,这显示在日志中:

-----> Detecting rake tasks
-----> Preparing app for Rails asset pipeline
       Running: rake assets:precompile
       DEPRECATION WARNING: Including LoggerSilence is deprecated and will be removed in Rails 6.1. Please use `ActiveSupport::LoggerSilence` instead (called from <top (required)> at /tmp/build_9537ba0878cb8933c15686548eb3ccb5/config/application.rb:7)
       Missing encryption key to decrypt file with. Ask your team for your master key and write it to /tmp/build_9537ba0878cb8933c15686548eb3ccb5/config/master.key or put it in the ENV['RAILS_MASTER_KEY'].
 !
 !     Precompiling assets failed.
 !
 ! …
Run Code Online (Sandbox Code Playgroud)

ruby-on-rails heroku

3
推荐指数
1
解决办法
2921
查看次数

标签 统计

heroku ×1

ruby-on-rails ×1