Compass Error - Mac OS X

For several months I worked with sass and compass, and yesterday I had problems with ruby ​​and an unrelated project. So in the end, I installed the ruby ​​and sassi again.

Since then, I can no longer start the compass clock without receiving the error below.

##########:######### #########$ compass watch /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:116:in `require': cannot load such file -- sass/script/node (LoadError) from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:116:in `rescue in require' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:122:in `require' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches/browser_support.rb:1:in `<top (required)>' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:2:in `block in <top (required)>' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:1:in `each' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass/sass_extensions/monkey_patches.rb:1:in `<top (required)>' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass/sass_extensions.rb:9:in `<top (required)>' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass.rb:5:in `block in <top (required)>' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass.rb:4:in `each' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/lib/compass.rb:4:in `<top (required)>' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require' from /Users/#############/.rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:51:in `require' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/bin/compass:20:in `block in <top (required)>' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/bin/compass:8:in `fallback_load_path' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/gems/compass-0.12.2/bin/compass:19:in `<top (required)>' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/bin/compass:23:in `load' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/bin/compass:23:in `<main>' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `eval' from /Users/#############/.rvm/gems/ruby-2.0.0-p247/bin/ruby_noexec_wrapper:14:in `<main>' 

None of the other compass commands seem to work, so I reinstalled the compass and I still get the same error.

Here are the ruby ​​and sass versions that I run. compass -v does not work.

ruby 2.0.0p247 (printable version 2013-06-27 41674) [x86_64-darwin11.4.2] Sass 3.3.0.alph.253 (Bleeding Edge)

Does anyone have any ideas how I can fix this?

+4
source share
1 answer

It looks like you may have a version of SASS that does not work with this version of Compass

I found the answer here: https://github.com/chriseppstein/compass/issues/1514

The following worked for me:

Look at the version of SASS that you installed (you said that Sass 3.3.0.alph.253)

 sass --version 

Delete sass:

 sudo gem uninstall sass 

Reinstall sass - you should get the latest working version:

 sudo gem install sass 

Reinstall Compass (I did this and saved my working version of SASS):

 sudo gem install compass 
+13
source

Source: https://habr.com/ru/post/1501631/