gpt4 book ai didi

ruby - 带 compass 的 ruby 弃用警告

转载 作者:数据小太阳 更新时间:2023-10-29 07:00:35 25 4
gpt4 key购买 nike

当我尝试像往常一样在项目上运行“bundle exec compass watch”时,我现在收到此警告:

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.

每个 gem 都是最新的,我不知道如何删除这个警告...

最佳答案

这也发生在我身上。我关闭终端并重新打开它,然后尝试 compass watch,此时它记录了修改后的 sass 文件但没有写入 css 文件。然后我再次运行 compass cleancompass watch 然后它就可以正常工作了。

关于ruby - 带 compass 的 ruby 弃用警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34905367/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com