Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deprecation warning on ruby with compass

When I try to run "bundle exec compass watch" as usual on a 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.

Every gems are up to date and I don't know how to remove this warning...

like image 278
Hedy Avatar asked Jan 20 '16 16:01

Hedy


1 Answers

This just happened to me too. I closed out of the terminal and reopened it, then tried compass watch, at which point it logged the modified sass file but did not write to the css file. So then I ran compass clean followed by compass watch again and then it was working properly.

like image 107
cschaefer Avatar answered Sep 21 '22 13:09

cschaefer