指南针样式(红宝石)编码错误 [英] Compass-style (ruby) encoding error

查看:75
本文介绍了指南针样式(红宝石)编码错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚更新了Ruby,现在尝试启动罗盘时出现以下错误:

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

这是什么问题?

推荐答案

好的,我可以添加

encoding = "utf-8"

config.rb文件

to the "config.rb" file

这篇关于指南针样式(红宝石)编码错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆