※ ChatGPTを利用し、要約された質問です(原文:sassについて質問です。)
sassでcompass watchした際にエラーが発生する問題について
compass watchしてコンパイルをしようとするとエラーが起こります。
何が問題でしょうか?
---エラーコード---
modified config.rb
clean css
delete css/test.css
>>> Compass is watching for changes. Press Ctrl-C to Stop.
write css/test.css
modified scss/test.scss
[Listen warning]: Change block raise an execption: incompatible character encodi
ngs: Windows-31J and UTF-8
Backtrace:
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/importers/filesy
stem.rb:87:in `index'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/importers/filesy
stem.rb:87:in `remove_root'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/importers/filesy
stem.rb:146:in `find_real_file'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/importers/filesy
stem.rb:32:in `mtime'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/staleness
_checker.rb:134:in `mtime'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/staleness
_checker.rb:163:in `block in dependency_updated?'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/staleness
_checker.rb:81:in `call'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/staleness
_checker.rb:81:in `stylesheet_modified_since?'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/staleness
_checker.rb:69:in `stylesheet_needs_update?'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/compiler.
rb:211:in `block in update_stylesheets'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/compiler.
rb:209:in `each'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/compiler.
rb:209:in `update_stylesheets'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/compiler.
rb:470:in `on_file_changed'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/lib/sass/plugin/compiler.
rb:328:in `block in watch'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/vendor/listen/lib/listen/
listener.rb:252:in `call'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/vendor/listen/lib/listen/
listener.rb:252:in `on_change'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/vendor/listen/lib/listen/
listener.rb:290:in `block in initialize_adapter'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/vendor/listen/lib/listen/
adapters/polling.rb:48:in `call'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/vendor/listen/lib/listen/
adapters/polling.rb:48:in `poll_changed_directories'
C:/Ruby21/lib/ruby/gems/2.1.0/gems/sass-3.4.12/vendor/listen/lib/listen/
adapter.rb:299:in `block in start_poller'