sass error in rails app on heroku: can't dump anonymous class sass error in rails app on heroku: can't dump anonymous class heroku heroku

sass error in rails app on heroku: can't dump anonymous class


I was able able to work around this issue by downgrading my sass gem (which was being brought in by sass-rails).

My Gemfile now contains:

gem "sass", "~> 3.2.5"gem 'sass-rails'


I found out that the problem was this in my env file.

config.cache_store = :dalli_store

I know this is needed to help speed up compilation, but I can do without it for now till I found back and found out how to fix it proper.


I had this same problem at the time of writing this post but then I was using sass-rails 5.0.0.beta1 but I'm confirming that instead of downgrading you can upgrade to the latest sass-rails 5.0.0 and everything will be fine. Do an upgrade to the latest version instead of downgrading.