I have trouble with uploading glyphicons in production in my rails 4 app.
Solutions like this so question not working for me.
My application.css.scss file contain this lines:
@import "bootstrap-sprockets";
@import "bootstrap";
$icon-font-path: "bootstrap/";
It's right path on production to glyphicons fonts in application.css
file, for example:
url("/assets/bootstrap/glyphicons-halflings-regular-8cd45fc682c0e3a2695ce9453750efec.woff2") format("woff2")
I try to download this file(mydomain.com/assets/bootstrap/glyphicons-halflings-regular-8cd45fc682c0e3a2695ce9453750efec.woff2) and I've downloaded it, that mean that files stores in servers in the right directory. And in my browser I don't see 404 errors.
But I noticed one thing, that confused me, locally I can see that glyphicons fonts downloaded:
And in production I don't see that file in network tab:
And there are no js errors
Why glyphicons doesn't load in production mode in rails?