A
A
Alexander Polyansky2015-09-09 17:58:33
Sass
Alexander Polyansky, 2015-09-09 17:58:33

SASS - compass gives an error when saving sccs file?

Good day, I'm trying to learn how to use Sass. But I can't even install it. Compass gives the following error when saving the scss file. How to fix it?

C:\Users\Александр\Desktop\верстка\sass>compass watch
 modified config.rb
    clean css
   delete css/ie.css
   delete css/print.css
   delete css/screen.css
>>> Compass is watching for changes. Press Ctrl-C to Stop.
    write css/ie.css
    write css/print.css
    write css/screen.css
 modified sass/screen.scss
[Listen warning]: Change block raise an execption: incompatible character encodi
ngs: Windows-1251 and UTF-8
Backtrace:
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/importers/fi
lesystem.rb:87:in `index'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/importers/fi
lesystem.rb:87:in `remove_root'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/importers/fi
lesystem.rb:146:in `find_real_file'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/importers/fi
lesystem.rb:32:in `mtime'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/stale
ness_checker.rb:134:in `mtime'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/stale
ness_checker.rb:163:in `block in dependency_updated?'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/stale
ness_checker.rb:81:in `call'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/stale
ness_checker.rb:81:in `stylesheet_modified_since?'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/stale
ness_checker.rb:69:in `stylesheet_needs_update?'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/compi
ler.rb:211:in `block in update_stylesheets'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/compi
ler.rb:209:in `each'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/compi
ler.rb:209:in `update_stylesheets'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/compi
ler.rb:470:in `on_file_changed'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/lib/sass/plugin/compi
ler.rb:328:in `block in watch'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/vendor/listen/lib/lis
ten/listener.rb:252:in `call'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/vendor/listen/lib/lis
ten/listener.rb:252:in `on_change'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/vendor/listen/lib/lis
ten/listener.rb:290:in `block in initialize_adapter'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/vendor/listen/lib/lis
ten/adapters/polling.rb:48:in `call'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/vendor/listen/lib/lis
ten/adapters/polling.rb:48:in `poll_changed_directories'
        C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/sass-3.4.18/vendor/listen/lib/lis
ten/adapter.rb:299:in `block in start_poller'

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nikolai Shabalin, 2015-10-13
@Eclerr

In general, it is not desirable that there are Cyrillic characters in the path.
On the topic, try in the main SASS file, at the beginning indicate@charset "UTF-8";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question