Heroku does not precompile assets when deploying

后端 未结 4 1654
旧巷少年郎
旧巷少年郎 2021-02-03 16:12

It very clearly says in its documentation that it would do this if I don\'t precompile them locally.

And truthfully, I have no interest in precompiling these locally.

4条回答
  •  北恋
    北恋 (楼主)
    2021-02-03 16:50

    You might be on the wrong Heroku stack. Make sure you specify stack Cedar when you create apps that use the asset pipeline.

    heroku create -stack cedar

提交回复
热议问题