How to use fonts in Rails 4
Your @font-face declaration is very close, you are just missing the /assets prefix within the url declaration. @font-face { font-family: ‘HDVPeace’; src: url(‘/assets/HDV_Peace.eot’); src: url(‘/assets/HDV_Peace.eot?iefix’) format(‘eot’), url(‘/assets/HDV_Peace.woff’) format(‘woff’), url(‘/assets/HDV_Peace.ttf’) format(‘truetype’), url(‘/assets/HDV_Peace.svg#webfont’) format(‘svg’); } Anything that has been added to assets.paths is available directly under the /assets path in both development and production. You only need … Read more