Compass-style (ruby) encoding error

让人想犯罪 __ 提交于 2019-12-08 09:41:39

问题


I just updated Ruby and now I'm getting the following error when trying to start compass:

Encoding::CompatibilityError on line ["28"] of /usr/local/Cellar/ruby/1.9.3-p194/lib/ruby/gems/1.9.1/gems/sass-3.2.3/lib/sass/tree/visitors/to_css.rb: incompatible character encodings: ASCII-8BIT and UTF-8

What's the problem there? How can it be solved?


回答1:


Okay, I could fix it adding

encoding = "utf-8"

to the "config.rb" file



来源:https://stackoverflow.com/questions/13987010/compass-style-ruby-encoding-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!