Bonjour,
Voila, je souhaitais améliorer mon workflow en utilisant sass et la bibliothèque compass. Cependant, je voudrais passer par ligne de commande. C'est la que ça bloque, j'ai installé ruby ainsi que la gem compass. Mais lorsque que je veux faire la commande watch ou compile je me retrouve avec des problème d'encodage. Quand je lance la commande j'obtiens :
λ compass watch
>>> Compass is watching for changes. Press Ctrl-C to Stop.
Encoding::CompatibilityError on line ["87"] of C: incompatible character encodings: Windows-1252 and UTF-8
Run with --trace to see the full backtrace
J'ai bien sur fait le tour des solutions proposer sur google et sur le topic précèdent. Mais rien n'a faire j'ai toujours le même problème.
λ compass watch --trace
>>> Compass is watching for changes. Press Ctrl-C to Stop.
Encoding::CompatibilityError on line ["87"] of C: incompatible character encodings: Windows-1252 and UTF-8
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/importers/filesystem.rb:87:in `remove_root'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/importers/filesystem.rb:146:in `find_real_file'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/importers/filesystem.rb:32:in `mtime'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/staleness_checker.rb:134:in `mtime'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/staleness_checker.rb:163:in `block in dependency_updated?'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/staleness_checker.rb:81:in `call'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/staleness_checker.rb:81:in `stylesheet_modified_since?'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/staleness_checker.rb:69:in `stylesheet_needs_update?'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/compiler.rb:211:in `block in update_stylesheets'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/compiler.rb:209:in `each'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/compiler.rb:209:in `update_stylesheets'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/sass-3.4.21/lib/sass/plugin/compiler.rb:293:in `watch'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/sass_compiler.rb:46:in `watch!'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/watch_project.rb:41:in `perform'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/base.rb:18:in `execute'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:19:in `execute'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:43:in `perform!'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:15:in `run!'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/bin/compass:30:in `block in <top (required)>'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/bin/compass:44:in `call'
C:/Ruby22/lib/ruby/gems/2.2.0/gems/compass-1.0.3/bin/compass:44:in `<top (required)>'
C:/Ruby22/bin/compass:23:in `load'
C:/Ruby22/bin/compass:23:in `<main>'
Je galère vraiment du coup je ne demande qu'a trouver une petite solution si un âme généreuse pouvez m'aider à la trouver ? Cela m'aiderai vraiment.
Merci d'avance