I'm not sure if we have the same situation, but hopefully this helps.
Link
I used the custom all_scss application instead of the usual application.scss stylesheet, in which application-all.scss was used as part of Rails.application.config.assets.precompile .
I renamed application-all.scss to digested-name application.scss and updated the corresponding code.
After that, he now worked for me.
source share