Skip to content

Instantly share code, notes, and snippets.

@ideamonk
Created August 29, 2012 22:36
Show Gist options
  • Save ideamonk/3519781 to your computer and use it in GitHub Desktop.
Save ideamonk/3519781 to your computer and use it in GitHub Desktop.
Adding fonts to rails asset paths, E.g. font-awesome :)
# Add the fonts path
config.assets.paths << "#{Rails.root}/app/assets/fonts"
# Precompile additional assets
config.assets.precompile += %w( .svg .eot .woff .ttf )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment