Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gulp Compass broke down after Sass update 3.4.6

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.

like image 567
Dani Avatar asked Oct 20 '14 19:10

Dani


1 Answers

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
like image 55
Dani Avatar answered Oct 27 '22 11:10

Dani