I want to make a rails application with the 'Mostly Mono' font ("http://www.1001fonts.com/mostlymono-font.html"), and I tried the asset pipeline method the says here Using fonts with Rails asset pipeline .
I placed this in config/application.rb
config.assets.paths << Rails.root.join("app", "assets", "fonts")
And this to app/assets/stylesheets/application.css
@font-face {
font-family: 'MostlyMono';
src: font-url('/assets/fonts/mostlymono.ttf') format('truetype'); }
Is there any other method or am I doing something wrong?