Glyphicon works locally but not on Heroku

后端 未结 6 936

If you look at my app here: http://quiet-brushlands-5712.herokuapp.com/, close to the button is an icon, a glyphicon. But it\'s not appearing on heroku. locally it show as nicel

6条回答
  •  无人及你
    2021-02-04 09:02

    If you do not want to set your config.assets.compile to true in your production environment (which you probably shouldn't for better performance), you can manually precompile your assets before you push to heroku using rake assets:precompile RAILS_ENV=production

提交回复
热议问题