You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Rails 3.2, without compass. I have tried precompiling assets manually as well as adding config.assets.precompile += %w(*.svg *eot *woff *woff2 *.ttf) to production.rb.
The font-awesome stylesheets are all working and referencing the fonts, but for some reason the fonts are not there!
The text was updated successfully, but these errors were encountered:
Commenting in case anyone else ends up here. In production, there will be a unique string on these assets added by the asset pipeline. So instead of a URL like https://foobar.com/assets/font-awesome/fontawesome-webfont.woff2 it will be something like https://foobar.com/assets/font-awesome/fontawesome-webfont-2932abf996373e87fbf2e950876b1962f1b57db954a1643ea68831d9fbb74dh4.woff2.
In development the fonts work fine, however in production, all the font files return a 404:
https://foobar.com/assets/font-awesome/fontawesome-webfont.woff
returns 404.I am using Rails 3.2, without compass. I have tried precompiling assets manually as well as adding
config.assets.precompile += %w(*.svg *eot *woff *woff2 *.ttf)
to production.rb.The font-awesome stylesheets are all working and referencing the fonts, but for some reason the fonts are not there!
The text was updated successfully, but these errors were encountered: