FortAwesome / font-awesome-sass

Font-Awesome Sass gem for use in Ruby/Rails projects
MIT License
906 stars 265 forks source link

Upgrade from 4.4 to 4.7 failed #136

Open lnxbil opened 6 years ago

lnxbil commented 6 years ago

Hi,

I have a legacy Rails 4.2 application which worked with font-awesome-sass version 4.4 and I just wanted to update the gem to have the GitLab Icon (introduced in 4.6) and after updating the gem (bundle update font-awesome-sass), I get the error

Sprockets::FileNotFound: couldn't find file 'font-awesome

I traced the issue back to 9f6666fa5dd9e69602ca583ce97636a531841ca9 which started to rename files. If I symlink the files to their previous name, it works as expected:

.../font-awesome-sass-4.7.0/assets/stylesheets > ln -s _font-awesome.scss font-awesome.scss
.../font-awesome-sass-4.7.0/assets/stylesheets > ln -s _font-awesome-sprockets.scss font-awesome-sprockets.scss

What needs to be changed in order to work with the vanilla version of the gem? Maybe there is a dependency change necessary to require a newer version of $something to work as expected.

Any ideas?