ruby on rails - Glyphicon not showing in Heroku(it was normal before) -


i have rails 4 application , working fine, until now, instead of bootstrap glyphicon appears square! don't know why, didn't change anything... want solution different `changing config.assets.precompile = true, once not practice , application run if it.(see config.assets.compile=true in rails production, why not?). thanks!

because didn't compile assets locally, heroku tried compile them failed. called slug compilation.

the solution compile files locally, , commit public/assets folder. need run:

rails_env=production bundle exec rake assets:precompile 

why heroku failed compiling assets? because detected manifest file assets folder, , assumed compiled assets manually.


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

jsf - How to ajax update an item in the footer of a PrimeFaces dataTable? -

django - CSRF verification failed. Request aborted. CSRF cookie not set -