uninitialized constant SassC::Script::String
Can you post the full error message? Normally this should show you which file (I would guess here that it’s a plugin) causes the SassC error.
Error: error in C function image-url: uninitialized constant SassC::Script::String
on line 277 of app/assets/stylesheets/common/base/onebox.scss, in function `image-url`
from line 277 of app/assets/stylesheets/common/base/onebox.scss, in mixin `gdocs-logo`
from line 286 of app/assets/stylesheets/common/base/onebox.scss
from line 35 of app/assets/stylesheets/common.scss
from line 1 of desktop.scss
>> background: image-url("favicons/google_branding/logo_#{$type}_48px.png")
It is a SassC error.
What version of sassc
do you get when you run bundle install
?
I didn’t change anything from the Gemfile, it is SassC 2.0.1.
I can’t reproduce with the same SassC version on a Mac. You could follow the solutions here for a quick fix.
Thanks, this fixed the problem for me but since this is an issue, I will suggest we flag it and allow ~> 1.0
for now
gem 'sassc', '~> 1.0', require: false
I definitely want to get sassc upgrades to latest, it is just a bit fiddly. We will make it happen in the next few months.
We are now running the latest version of sassc, thanks for the reminder @SURGE
This topic was automatically closed after 24 hours. New replies are no longer allowed.