Skip to content

Instantly share code, notes, and snippets.

@xxx
Created October 6, 2009 01:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xxx/202667 to your computer and use it in GitHub Desktop.
Save xxx/202667 to your computer and use it in GitHub Desktop.
1)
TypeError in 'SEL with STI subclasses with yaml before(:all)'
can't dump anonymous class Class
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:6:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:41:in `node_export'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:41:in `add'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:41:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:40:in `each'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:40:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:39:in `map'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:39:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml.rb:391:in `call'
/usr/local/lib/ruby/1.8/yaml.rb:391:in `emit'
/usr/local/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:38:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:110:in `node_export'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:110:in `add'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:110:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:109:in `each'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:109:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:108:in `seq'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:108:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml.rb:391:in `call'
/usr/local/lib/ruby/1.8/yaml.rb:391:in `emit'
/usr/local/lib/ruby/1.8/yaml.rb:391:in `quick_emit'
/usr/local/lib/ruby/1.8/yaml/rubytypes.rb:107:in `to_yaml'
/usr/local/lib/ruby/1.8/yaml.rb:117:in `dump'
/usr/home/pope/git-sources/dm-core/lib/dm-core/adapters/yaml_adapter.rb:95:in `write_records'
/usr/local/lib/ruby/1.8/pathname.rb:798:in `open'
/usr/local/lib/ruby/1.8/pathname.rb:798:in `open'
/usr/home/pope/git-sources/dm-core/lib/dm-core/adapters/yaml_adapter.rb:94:in `write_records'
/usr/home/pope/git-sources/dm-core/lib/dm-core/adapters/yaml_adapter.rb:69:in `update_records'
/usr/home/pope/git-sources/dm-core/lib/dm-core/adapters/yaml_adapter.rb:10:in `create'
/usr/home/pope/git-sources/dm-core/lib/dm-core/repository.rb:125:in `create'
/usr/home/pope/git-sources/dm-core/lib/dm-core/resource.rb:829:in `_create'
/usr/home/pope/git-sources/dm-core/lib/dm-core/resource.rb:630:in `hookable__create_hook_nan_before_advised'
/usr/local/lib/ruby/gems/1.8/gems/extlib-0.9.14/lib/extlib/hook.rb:299:in `create_hook'
/usr/local/lib/ruby/gems/1.8/gems/extlib-0.9.14/lib/extlib/hook.rb:297:in `catch'
/usr/local/lib/ruby/gems/1.8/gems/extlib-0.9.14/lib/extlib/hook.rb:297:in `create_hook'
/usr/home/pope/git-sources/dm-core/lib/dm-core/resource.rb:548:in `save_self'
/usr/home/pope/git-sources/dm-core/lib/dm-core/resource.rb:337:in `save'
/usr/home/pope/git-sources/dm-core/lib/dm-core/model.rb:616:in `send'
/usr/home/pope/git-sources/dm-core/lib/dm-core/model.rb:616:in `_create'
/usr/home/pope/git-sources/dm-core/lib/dm-core/model.rb:403:in `create'
/usr/home/pope/git-sources/dm-core/spec/public/sel_spec.rb:83:
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:70:in `instance_eval'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:70:in `eval_each_fail_fast'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:70:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:70:in `eval_each_fail_fast'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_group_hierarchy.rb:13:in `run_before_all'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_group_methods.rb:192:in `run_before_all'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_group_methods.rb:102:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/example_group_runner.rb:23:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/example_group_runner.rb:22:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/example_group_runner.rb:22:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/options.rb:127:in `run_examples'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/command_line.rb:9:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/bin/spec:4:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment