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
Post a Comment