The answer was found here.
To install the compass on Mac OS X (Yosemite)
Set up the Ruby environment, ensure its relevance
ruby -v sudo gem update
Configure MAC environment, install Xcode command line tools
xcode-select
That was the key to getting Compass to work with OS X!
Install Sass
sudo gem install sass
Set compass
sudo gem install compass
source share