I try to update my rails application after runned the rails app:update command i try to run rails s but in that time, i faced some issues like
SassC::SyntaxError - Error: File to import not found or unreadable: font-awesome-sprockets.
on line 8:1 of app/assets/stylesheets/application.scss
>> @import 'font-awesome-sprockets';
^:
app/views/layouts/application.html.haml:14```
I tried to update the version of font-awesome-sass gem but it does not work. And added sprockets-rails gem also.
version of font-awesome-sass : 6.3.0
version of rails : 7.0.4
version of ruby : 3.1.2
Any other ways to solve this issue?......
The
@import 'font-awesome-sprockets';line should be removed after update of the font-awesome-sass gem from version 5 to version 6. Keep only the@import 'font-awesome';Check the documentation and issue #207.