-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error encountered while saving cache ... can't dump hash with default proc #331
Comments
Can you please provide a sample application that reproduces the error? |
Ok, give me some time, will prepare it. |
There you go: https://github.com/MartinB83/sass-test just deployed on heroku stack https://stark-savannah-7379.herokuapp.com/ |
Any idea here? |
Hi Martin, did you manage to solve this issue? I run into the same error just now.
|
Hi. No, unfortunately not and the error still persists. Luckily it does not have any impact yet. I just see it in the deployment log. |
Martin, I've checked your test project with mine. The issue is related to the import of the google font:
If you remove that import you stop receiving the warning. I'll be checking the documentation to see if we are doing something wrong or if there is a reported bug related to it. I'll let you know if I have any luck. |
ok thank you, will try to change it |
Hi there I'm getting the same warning, any news about it? I can share my logs if needed. |
I'm seeing the same thing, using active_skin (https://github.com/rstgroup/active_skin), on my Heroku project:
Something about the Heroku environment triggering the error? Could be linked to https://github.com/rstgroup/active_skin/blob/master/app/assets/stylesheets/active_skin.sass#L1 However, the import directive seems to be processed correctly. |
I get the same error with activeskin file very often on my development environment. Unfortunately, because of that the error slows the rendering time of my css a lot. After a bit of debugging, indeed, the problem lies in the P.S. If someone has this issue atm with active_skin, u can do what I did:
|
TODO: Create a Way to extend the ActiveAdmin configure file.
Hit this error today as well |
It's causing an error with latest sass-rails: rails/sass-rails#331.
It's causing an error with latest sass-rails: rails/sass-rails#331.
It's causing an error with latest sass-rails: rails/sass-rails#331.
The fonts still render in the browser but are excluded from the cache. It's not a huge performance hit per request, but it adds up. We are not using We've tried the following variations with no joy:
Commenting the UPDATE: downloading the |
Further investigation reveals a similar issue to this:
Like @srgpqt, I do not have enough knowledge of the Update: Cross posted here: sass/sass#2110 |
Is there any solution to this yet, besides copying stuff around? I'm using active_skin, too, and I'd like to avoid copying the CSS into my project instead of simply using the gem... |
Copying the google fonts CSS into my project was the fix for me. :( |
When deploying to heroku:
Error encountered while saving cache 59577ac82f2c1623e01184f55995a44284ee07e8/main.sassc: can't dump hash with default proc
Not really reproduceable but I read about this issue but with older versions of sass-rails.
gemfile.lock
sass (3.4.13)
sass-rails (5.0.3)
...railties (>= 4.0.0, < 5.0)
...sass (
> 3.1)> 1.1)...sprockets (>= 2.8, < 4.0)
...sprockets-rails (>= 2.0, < 4.0)
...tilt (
Need more info?
The text was updated successfully, but these errors were encountered: