ruby - error when compiling compass / bootstrap-sass -
i'm running ruby 2.0.0x64 on windows
i do
gem update --system gem install compass gem install breakpoint gem install bootstrap-sass
and create project :
compass create -r bootstrap-sass --using bootstrap
and put
require 'breakpoint'
in config.rb , compile once, it's when compile other time , got error:
errno::enoent on line ["146"] of c: no such file or directory - c:/users/flairon/desktop/test/bootstrap/.sass-cache/75fcaf1b4852ceb732871195e41567cc2a 7d8997/c%058%092ruby200-x64%092lib%092ruby%092gems%0922.0.0%092gems%092bootstrap-sass-3.2.0.1%092assets%092stylesheets%092bootstrap%092_component-anim ations.scssc20140817-3940-158dqg2
run --trace see full backtrace
so use --trace , got this:
errno::enoent on line ["146"] of c: no such file or directory - c:/users/flairon/desktop/test/bootstrap/.sass-cache/75fcaf1b4852ceb732871195e41567cc2a 7d8997/c%058%092ruby200-x64%092lib%092ruby%092gems%0922.0.0%092gems%092bootstrap-sass-3.2.0.1%092assets%092stylesheets%092bootstrap%092_component-anim ations.scssc20140817-5820-orclq9 c:/ruby200-x64/lib/ruby/2.0.0/tempfile.rb:146:in `open' c:/ruby200-x64/lib/ruby/2.0.0/tempfile.rb:146:in `block in initialize' c:/ruby200-x64/lib/ruby/2.0.0/tmpdir.rb:142:in `create' c:/ruby200-x64/lib/ruby/2.0.0/tempfile.rb:136:in `initialize' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/util.rb:1210:in `new' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/util.rb:1210:in `atomic_create_and_write_file' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/cache_stores/filesystem.rb:39:in `_store' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/cache_stores/base.rb:51:in `store' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/cache_stores/chain.rb:19:in `block in store' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/cache_stores/chain.rb:19:in `each' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/cache_stores/chain.rb:19:in `store' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/engine.rb:420:in `_to_tree' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/engine.rb:305:in `to_tree' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:178:in `block in compute_dependencies' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/tree/node.rb:193:in `block (2 levels) in each' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/tree/node.rb:192:in `each' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/tree/node.rb:193:in `block in each' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/tree/node.rb:193:in `each' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/tree/node.rb:193:in `each' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:174:in `grep' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:174:in `compute_dependencies' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:149:in `dependencies' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:125:in `dependencies_stale?' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:166:in `block in dependency_updated?' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:81:in `call' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:81:in `stylesheet_modified_since?' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/staleness_checker.rb:69:in `stylesheet_needs_update?' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/compiler.rb:210:in `block in update_stylesheets' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/compiler.rb:208:in `each' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/sass-3.3.14/lib/sass/plugin/compiler.rb:208:in `update_stylesheets' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/lib/compass/sass_compiler.rb:40:in `compile!' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/lib/compass/commands/update_project.rb:49:in `perform' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/lib/compass/commands/base.rb:18:in `execute' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/lib/compass/commands/project_base.rb:19:in `execute' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/lib/compass/exec/sub_command_ui.rb:43:in `perform!' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/lib/compass/exec/sub_command_ui.rb:15:in `run!' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/bin/compass:30:in `block in <top (required)>' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/bin/compass:44:in `call' c:/ruby200-x64/lib/ruby/gems/2.0.0/gems/compass-1.0.0/bin/compass:44:in `<top (required)>' c:/ruby200-x64/bin/compass:23:in `load' c:/ruby200-x64/bin/compass:23:in `<main>'
is normal, or not , how correct error. thank's!
edit: 24/08/14
in: c:\ruby200-x64\lib\ruby\gems\2.0.0\gems\bootstrap-sass-3.2.0.1\assets\stylesheets\bootstrap. file _component-animations.scss in it, , content:
.fade { opacity: 0; @include transition(opacity .15s linear); &.in { opacity: 1; } } .collapse { display: none; &.in { display: block; } // [converter] extracted tr&.in tr.collapse.in // [converter] extracted tbody&.in tbody.collapse.in } tr.collapse.in { display: table-row; } tbody.collapse.in { display: table-row-group; } .collapsing { position: relative; height: 0; overflow: hidden; @include transition(height .35s ease); }
Comments
Post a Comment