Skip to content
the font-awesome font bundled as an asset for the rails asset pipeline
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


This gem is a simple rebundling of the contents of font-awesome:

In a format suitable for use with the Rails asset pipeline.

add this to your gemfile:

gem 'font-awesome-rails'

and type

bundle install

and now in your application.css you can include the css file like so:

*= require 'font-awesome'

I'm not a fan of randomly grabbing files and adding them to my project - later on its always a pain when you need to figure out which version you're using and if there is a newer one... so I'm going to do that work for you. You get to use this gem with a well-defined version number, and I'll periodically update it with new stuff from the mainline project. You'll know what version you're using and what the differences are.

note on version 0.2.0 - FontAwesome now includes scss and sass files, but when I used them instead of the plain ol css file included in the project, it wanted some compass libraries. I'm a fan of compass, but including an entire tool like that in order to generate a @font_face tag seems a little much... I don't want this gem to require compass for such a trivial thing, so we are staying on the vanilla css file for now.

version    FontAwesome's sha1 hash       Other additions
0.1.0      378b2d7                       Simplest packaging as a gem as possible
0.2.0      563a6f3                       Repackaged after their new release
Something went wrong with that request. Please try again.