Heroku does not precompile assets when deploying

后端 未结 4 1697
旧巷少年郎
旧巷少年郎 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条回答
  •  Happy的楠姐
    2021-02-03 16:53

    Try changing to this. I hope this will help you.

    In config/environments/production.rb

    config.assets.compile = true config.assets.digest = true

提交回复
热议问题