Search code examples
cssrubysasscompass-sass

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?


Solution

  • Okay, I could fix it adding

    encoding = "utf-8"
    

    to the "config.rb" file