AssetAliasUsed should only be raised from ActionView helpers, not within static assets themselves. I think this is only a probably with the 2.x backport. 3.x already behaves as intended. https://github.com/rails/sprockets-rails/issues/246 https://github.com/github/octicons/issues/50 /cc @rafaelfranca