bokmann/font-awesome-rails — pull request #2 by mrnugget (2012-04-05 10:02:43+00:00)
Title: Use asset_path in a .css.erb stylesheet

I ran into some problems deploying my rails apps using font-awesome-rails: because of the app being deployed to a sub-uri on the production server, the specified font files could not be found in "/assets/".

@pgib posted a fix in issue #1 which uses the `asset_path` method in the stylesheet. Using a *.css.erb file does not depend on any additional gems but still makes the use of `asset_path` available. That and using ` config.action_controller.relative_url_root = '/yoursuburi'` fixed the issue for me and I suddenly had beautiful icons on my site.

What do you think?