With SASS and fonts from WebHostingHub Glyphs,
webhostinghub-glyphs-rails is a gem to integrate WebHostingHub Glyphs to your Rails application.
It supports Rails 3.1.1 and older.
webhostinghub-glyphs-rails gem to your
Then add the stylesheet to your Rails assets. The simplest way to apply Font Awesome site-wide is to add a
require statement in
*= require webhostinghub-glyphs
If you want to manage where the stylesheet will be used or just prefer SCSS, you can use
@import in a SCSS file (e.g. a new file named
libs.css.scss) to import the stylesheet:
(By default Rails will import all SCSS files in
app/assets/stylesheets, you can change this behavior by modifying