module FontAwesomeSassMixins module Sass class << self def load! load_sass end def gem_path @gem_path ||= File.expand_path('..', File.dirname(__FILE__)) end def lib_path @lib_path ||= File.join(gem_path, 'lib') end def sass_path @sass_path ||= File.join(lib_path, 'sass') end def manifest_file @manifest ||= File.join(sass_path, '_manifest.sass') end def load_sass require 'sass' ::Sass.load_paths << manifest_file end end end end FontAwesomeSassMixins::Sass.load!