After upgrading to Sprockets 4, admin page stops working at all:
Error: File to import not found or unreadable: rails_admin/font-awesome.
on line 60:1 of F:/Ruby25/lib/ruby/gems/2.5.0/gems/rails_admin-2.0.0/app/assets/stylesheets/rails_admin/rails_admin.scss.erb
>> @import 'rails_admin/font-awesome';
Commenting out the specified line fixes the issue. This happens on Rails 6 on Windows and Mac.
Here is a sample fresh app demonstrating the problem: https://github.com/bodrovis/RailsAdminSprockets To reproduce:
- Clone the repo
- Install gems
- Run server
- Visit
http://localhost:3000/admin
- Observe the error
After upgrading to Sprockets 4, admin page stops working at all:
Commenting out the specified line fixes the issue. This happens on Rails 6 on Windows and Mac.
Here is a sample fresh app demonstrating the problem: https://github.com/bodrovis/RailsAdminSprockets To reproduce:
http://localhost:3000/admin