#Using Font-Awesome with Rails 3.1 using CSS
-
Download font-awesome from https://github.com/FortAwesome/Font-Awesome
-
Put the font folder in the app/assets. I renamed the folder from font to fonts to make it clearer
-
Add
config.assets.paths << "#{Rails.root}/app/assets/fonts"
toconfig/application.rb
. This is to include the apps/assets/fonts folder in the asset pipeline -
Put the font-awesome.css file in the app/assets/stylesheets folder