Ruby warning with compass

When I try to run the "comple exec compass watch" as usual in the project, I now have this warning:

DEPRECATION WARNING on line 87 of /home/hedy/Sites/mywebsite.fr/src/vendor/bundle/ruby/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss: #{} interpolation near operators will be simplified in a future version of Sass. To preserve the current behavior, use quotes: unquote('"$moz-"#{$experimental-support-for-mozilla} "$webkit-"#{$experimental-support-for-webkit} "$opera-"#{$experimental-support-for-opera} "$microsoft-"#{$experimental-support-for-microsoft} "$khtml-"#{$experimental-support-for-khtml}') You can use the sass-convert command to automatically fix most cases. DEPRECATION WARNING on line 92 of /home/hedy/Sites/mywebsite.fr/src/vendor/bundle/ruby/2.3.0/gems/compass-core-1.0.3/stylesheets/compass/css3/_deprecated-support.scss: #{} interpolation near operators will be simplified in a future version of Sass. To preserve the current behavior, use quotes: unquote('"$ie6-"#{$legacy-support-for-ie6} "$ie7-"#{$legacy-support-for-ie7} "$ie8-"#{$legacy-support-for-ie8}') You can use the sass-convert command to automatically fix most cases. 

Each gem is updated, and I do not know how to remove this warning ...

+6
source share
2 answers

It happened to me. I closed the terminal and opened it again, then tried compass watch , after which it registered the modified sass file, but did not write it to the css file. So, I ran compass clean again, and then compass watch , and then it worked correctly.

+4
source

In this case, you just need to stop the compass command (or restart cmd) and run the sass-convert function, which will fix this problem for you. Next time just use compass watch . Hope this helps.

-2
source

All Articles