Heroku上的Rails,预编译资产失败

时间:2020-04-11 10:56:54

标签: ruby-on-rails heroku

我正尝试在Heroku上部署此仓库https://github.com/pyk/0xblockchain

当我按照此处建议的步骤进行操作时,在部署之后,它会抛出并提示需要Twitter用户密钥的错误,因此在通勤后,我将production.rb.sample重命名为production.rb并添加了所需的Twitter密钥当我将更改推送到heroku时,更改将引发以下错误。

remote:        Tasks: TOP => environment
remote:        (See full trace by running task with --trace)
remote: 
remote:  !
remote:  !     Precompiling assets failed.
remote:  !
remote:  !     Push rejected, failed to compile Ruby app.
remote: 
remote:  !     Push failed
remote: Verifying deploy...

我尝试添加预完成资产的配置标志,但仍然无法正常工作。 我有什么想念的吗?

0 个答案:

没有答案