heroku突然失败了

时间:2018-04-23 21:07:31

标签: ruby-on-rails heroku rails-activestorage ruby-on-rails-5.2

我昨晚推出了heroku,现在我的推送失败,出现以下错误。 Heroku状态似乎没问题。我的heroku配置将RAILS_MASTER_KEY设置为我的master.key。这没有用。

有任何经验吗?或者,能够指出我修复?

Command: 'bin/rails runner "puts %Q{heroku_detecting_active_storage_config=#{Rails.application.config.active_storage.service}}"' failed unexpectedly:
remote:  !     Missing encryption key to decrypt file with. Ask your team for your master key and write it to /tmp/build_996b65d7dc5d21b59fdaad7cc82a7aba/config/master.key 
               or put it in the ENV['RAILS_MASTER_KEY'].

1 个答案:

答案 0 :(得分:1)

请参阅:https://github.com/heroku/heroku-buildpack-ruby/pull/739,修复程序似乎已合并