CSS loading locally but not in Heroku for a rails app

后端 未结 11 1833
梦谈多话
梦谈多话 2020-12-04 09:12

I\'m following a rails prelaunch signup tutorial. Bootstrap was working fine deployed on heroku, but then I modified the bootstrap_and_override file to include a logo. Whe

11条回答
  •  天命终不由人
    2020-12-04 09:53

    Check that in /config/environments/production.rb you have these set to true

    config.cache_classes = true config.serve_static_assets = true config.assets.compile = true config.assets.digest = true

    git add, git commit and push to heroku.

提交回复
热议问题