Why does "compass watch" say it cannot load sass/script/node (LoadError)?
Solution 1:
Uninstall sass and reinstall it with the following:
gem uninstall sass
gem install sass
There was an issue with my installation of sass and doing this fixed the issue.
Solution 2:
In my case, Sass version was not compatible with Compass.
FIX :
-
uninstall Sass AND Compass
gem uninstall compass gem uninstall sass
-
install Compass who will install a compatible Sass engine automaticaly
gem install compass
Solution 3:
This combination is finally working for me to bring Compass and SASS Sourcemaps together:
Gemfile
gem 'sass', '3.3.0.alpha.149'
gem 'compass', '0.12.2'
gem 'compass-sourcemaps', "~> 0.12.2.sourcemaps.57a186c"
Compass config.rb
sass_options = {:sourcemap => true}
Solution 4:
This specific version works well on both:
gem 'sass', '3.3.0.alpha.149'
gem 'compass', '0.12.2'
They might not be compatible with each other that's why you're getting those errors (considering you're using a bleeding edge version).