Compass-style (ruby) encoding error
问题 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