Ruby 1.9 and Sass encoding issues. (from ASCII-8BIT to UTF-8) -
i upgraded ruby 1.9 , can no longer compile sass.
i've seen solutions state if place
@charset "utf-8";
at top of .sccs file, fix it. i'm still getting error. here's full traceback
i've tried removing non-ascii characters css file, creating new one, etc. won't compile. tips?
traceback:
sass watching changes. press ctrl-c stop.
/home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:496:in `encode': transcoding not supported (from ascii-8bit utf-8) (argumenterror)
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:496:in
_enc' /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:515:in
rescue in block (1 levels) in 'from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:508:in `block (1 levels) in '
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:472:in `yield'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:472:in `default'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:472:in `block in check_sass_encoding'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:471:in `each'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:471:in `find'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/util.rb:471:in `check_sass_encoding'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/engine.rb:349:in `check_encoding!'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/engine.rb:316:in `_to_tree'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/engine.rb:291:in `_render'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/engine.rb:238:in `render'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/plugin/compiler.rb:319:in `update_stylesheet'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/plugin/compiler.rb:169:in `block in update_stylesheets'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/plugin/compiler.rb:167:in `each'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/plugin/compiler.rb:167:in `update_stylesheets'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/plugin/compiler.rb:214:in `watch'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/plugin.rb:111:in `method_missing'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/exec.rb:408:in `watch_or_update'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/exec.rb:294:in `process_result'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/exec.rb:41:in `parse'
from /home/webdev/.gem/repository/gems/sass-3.1.1/lib/sass/exec.rb:21:in `parse!'
from /home/webdev/.gem/repository/gems/sass-3.1.1/bin/sass:8:in `'
from /home/webdev/.gem/repository/bin/sass:19:in `load'
from /home/webdev/.gem/repository/bin/sass:19:in `'
Comments
Post a Comment