Skip to content

Instantly share code, notes, and snippets.

@maylogger
Created August 1, 2011 10:22
Show Gist options
  • Save maylogger/1117904 to your computer and use it in GitHub Desktop.
Save maylogger/1117904 to your computer and use it in GitHub Desktop.
undefined method `to_tree' for nil:NilClass
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:169:in `tree'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:159:in `compute_dependencies'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:142:in `dependencies'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:119:in `dependencies_stale?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:152:in `dependency_updated?'
org/jruby/RubyEnumerable.java:1356:in `any?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:119:in `dependencies_stale?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:152:in `dependency_updated?'
org/jruby/RubyEnumerable.java:1356:in `any?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:119:in `dependencies_stale?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:152:in `dependency_updated?'
org/jruby/RubyProc.java:268:in `call'
org/jruby/RubyProc.java:228:in `call'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:75:in `stylesheet_modified_since?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/sass-3.1.4/lib/sass/plugin/staleness_checker.rb:63:in `stylesheet_needs_update?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/compiler.rb:63:in `needs_update?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/compiler.rb:57:in `out_of_date?'
org/jruby/RubyArray.java:1603:in `each'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/compiler.rb:56:in `out_of_date?'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/commands/watch_project.rb:139:in `recompile'
src/compass_patch.rb:22:in `perform'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/commands/base.rb:18:in `execute'
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.5/lib/compass/commands/project_base.rb:19:in `execute'
src/ui/tray.rb:374:in `watch'
org/jruby/RubyProc.java:268:in `call'
org/jruby/RubyProc.java:232:in `call'
@maylogger
Copy link
Author

錯誤大噴發
我大概知道原因了
是sprite
如果有新圖加入就會爆
但是 compass watch CLI 不會爆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment