When my gulp runs compass over my sass file I run into the following error:
error src/scss/site/style.scss (/Library/Ruby/Gems/2.0.0/gems/sass-3.4.6/lib/sass/selector/abstract_sequence.rb:96:in `block in _specificity': undefined method `specificity' for [:not(.pointer)]:Array)
I don't know what this error means exactly, but the file it's pointed to has no special source, it's just a small legit scss file:
@import '../general';
.tld {
color: $color-primary;
}
I also keep getting these errors in my Gulp streams, it might be related:
[21:45:01] Ignoring psych-2.0.6 because its extensions are not built. Try: gem pristine psych-2.0.6
[21:45:01] Ignoring ffi-1.9.5 because its extensions are not built. Try: gem pristine ffi-1.9.5
Of course I tried the "gem pristine" but that doesn't do anything.
I don't know what happened all I know is that my gulpfile was the same last week and it worked flawlessly. I installed OSX Yosemite and didn't do anything special.
I know my description lacks stuff, but that's because I don't have a clue where to look for a solution, because I don't understand the error.
Ok, I was blaming my OSX Yosemite upgrade but this was not right. I also upgraded my gems and it appears my sass upgrade to 3.4.6 broke down sass. Downgrading to 3.4.5 does the job:
sudo gem uninstall sass
sudo gem install sass --version 3.4.5
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With