Resolving - because its extensions are not built. Try: gem pristine - for Sass

You may see this error when compiling with Sass or Compass, in CodeKit or Grunt or otherwise: 

Usually it’s a result of a bad compile, and you’re seeing this instead of a helpful error log. 

Ignoring fast-stemmer-1.0.2 because its extensions are not built. Try: gem pristine fast-stemmer-1.0.2
Ignoring hitimes-1.2.2 because its extensions are not built. Try: gem pristine hitimes-1.2.2
Ignoring posix-spawn-0.3.9 because its extensions are not built. Try: gem pristine posix-spawn-0.3.9
Ignoring redcarpet-3.1.2 because its extensions are not built. Try: gem pristine redcarpet-3.1.2
Ignoring redcarpet-2.3.0 because its extensions are not built. Try: gem pristine redcarpet-2.3.0
Ignoring yajl-ruby-1.1.0 because its extensions are not built. Try: gem pristine yajl-ruby-1.1.0

Fire up a terminal window and try the following:

compass version

Likely you will see the error echoed the same as your failed compile. You’ll need to resolve these using a simple terminal gem pristine

In your terminal, you’ll need to resolve each of the following errors individual.

Example:

For the first error you’d need correct the install, so you’ll want to run

Ignoring fast-stremmer-1.0.2 because its extensions are not built. Try: gem pristine fast-stemmer-1.0.2 

From the terminal  run:

sudo gem pristine fast-stemmer

This will for the rebuild the gem install and resolve that particular error. You’ll need to repeat this for each individual instance of the gem pristine error.

Each built should look something like the following.

mycomputer:username$ sudo  gem pristine hitimes

Restoring gems to pristine condition...

Building native extensions.  This could take a while...

Restored hitimes-1.2.2

Now you should be able to continue compiling Compass.