Many sass/sprockets cache errors on deploy to Heroku.
slothbear opened this issue · 1 comments
Warning. Error encountered while saving cache
77eddb50adde95bc550f79b877172a4a24a090e6/_row.scssc:
can't dump anonymous class #<Class:0x007f2f9cc1aa70>
Without the cache, the asset precompile is slower. That's not really a problem
for this template, but the warnings are distracting. The application deploys
successfully and has no problems as a result of these warnings.
Sass says this is a sprockets bug: sass/sass#1028
The common recommendation: downgrade sass to 3.2.19 (the last in the 3.2 line)
I can’t do that because bourbon requires sass 3.3.
This has been fixed in sprockets by turning off the caching:
sstephenson/sprockets@655f129
I can’t use that sprockets without updating other gems. I could apply
the patch to a forked sprockets, but it’s not worth it.
Update when sprockets and sprockets-rails roll forward. I am watching the
sprockets-rails repository. Update this template when they include
sprockets v3.0.0.beta.3 or later.
Perhaps stop using sass-rails as recommended in:
rails/sprockets-rails#182
Does that have any other effects? If sass-rails is included in the default Rails application, it must be good for something.