Skip to content

Instantly share code, notes, and snippets.

@xxx
Created July 21, 2009 18: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/151492 to your computer and use it in GitHub Desktop.
Save xxx/151492 to your computer and use it in GitHub Desktop.
Stacktrace:
Fixture::FormatError in 'PublishedGallery Methods#thumbnail should delegate to its lead asset'
a YAML error occurred parsing /Users/mpd/timber/spec/fixtures/galleries.yml. Please note that YAML must be consistently indented using spaces. Tabs are not allowed. Please have a look at http://www.yaml.org/faq.html
The exact error was:
NoMethodError: undefined method `abstract_class?' for Object:Class
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:745:in `parse_yaml_string'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:697:in `read_yaml_fixture_files'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:684:in `read_fixture_files'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:545:in `initialize'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:505:in `new'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:505:in `create_fixtures'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:504:in `map'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:504:in `create_fixtures'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/connection_adapters/mysql_adapter.rb:264:in `disable_referential_integrity'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:501:in `create_fixtures'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/base.rb:1448:in `silence'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:500:in `create_fixtures'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:961:in `load_fixtures'
/opt/local/lib/ruby/gems/1.8/gems/activerecord-2.3.3/lib/active_record/fixtures.rb:926:in `setup_fixtures'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:178:in `send'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:178:in `evaluate_method'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:166:in `call'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:90:in `run'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:90:in `each'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:90:in `send'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:90:in `run'
/opt/local/lib/ruby/gems/1.8/gems/activesupport-2.3.3/lib/active_support/callbacks.rb:276:in `run_callbacks'
/opt/local/lib/ruby/gems/1.8/gems/rspec-rails-1.2.7.1/lib/spec/rails/interop/testcase.rb:7:
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:70:in `instance_eval'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:70:in `eval_each_fail_fast'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:70:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:70:in `eval_each_fail_fast'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_group_hierarchy.rb:17:in `run_before_each'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:103:in `run_before_each'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:124:in `before_each_example'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:39:in `execute'
/opt/local/lib/ruby/1.8/timeout.rb:53:in `timeout'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_methods.rb:37:in `execute'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_group_methods.rb:207:in `run_examples'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_group_methods.rb:205:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_group_methods.rb:205:in `run_examples'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/example/example_group_methods.rb:103:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/example_group_runner.rb:23:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/example_group_runner.rb:22:in `each'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/example_group_runner.rb:22:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/options.rb:127:in `run_examples'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/lib/spec/runner/command_line.rb:9:in `run'
/opt/local/lib/ruby/gems/1.8/gems/rspec-1.2.8/bin/spec:4:
/opt/local/bin/spec:19:in `load'
/opt/local/bin/spec:19:
Other info:
mpd$ spec --version
rspec 1.2.8
mpd$ script/spec -v
rspec 1.2.8
mpd$ gem list
abstract (1.0.0)
actionmailer (2.3.3, 2.3.2)
actionpack (2.3.3, 2.3.2)
activerecord (2.3.3, 2.3.2)
activeresource (2.3.3, 2.3.2)
activesupport (2.3.3, 2.3.2)
acts_as_ferret (0.4.4)
acts_as_paranoid (0.3.1)
addressable (2.1.0, 2.0.2)
aws (1.11.9)
aws-s3 (0.6.2)
bcrypt-ruby (2.0.5)
builder (2.1.2)
cached_model (1.3.1)
capistrano (2.5.8)
capistrano-ext (1.2.1)
cgi_multipart_eof_fix (2.5.0)
columnize (0.3.0)
daemons (1.0.10)
data_objects (0.9.12)
diff-lcs (1.1.2)
dm-adjust (0.9.11)
dm-aggregates (0.9.11)
dm-ar-finders (0.9.11)
dm-cli (0.9.11)
dm-constraints (0.9.11)
dm-core (0.9.11)
dm-couchdb-adapter (0.9.10)
dm-ferret-adapter (0.9.11)
dm-is-list (0.9.11)
dm-is-nested_set (0.9.11)
dm-is-remixable (0.9.11)
dm-is-searchable (0.9.11)
dm-is-state_machine (0.9.11)
dm-is-tree (0.9.11)
dm-is-versioned (0.9.11)
dm-is-viewable (0.9.11)
dm-migrations (0.9.11)
dm-more (0.9.11)
dm-observer (0.9.11)
dm-querizer (0.9.11)
dm-rest-adapter (0.9.11)
dm-serializer (0.9.11)
dm-shorthand (0.9.11)
dm-sweatshop (0.9.11)
dm-tags (0.9.11)
dm-timestamps (0.9.11)
dm-types (0.9.11)
dm-validations (0.9.11)
dnssd (0.7.1)
do_sqlite3 (0.9.12)
erubis (2.6.5)
extlib (0.9.12)
fastthread (1.0.7)
fcgi (0.8.7)
ferret (0.11.6)
fiveruns_tuneup (0.8.20)
gem_plugin (0.2.3)
haml (2.2.2)
highline (1.5.1)
hoe (2.3.2)
hpricot (0.8.1)
htmlentities (4.0.0)
image_science (1.2.0)
json (1.1.7)
json_pure (1.1.7)
libxml-ruby (1.1.3)
linecache (0.43)
mailfactory (1.4.0)
memcache-client (1.7.4)
merb-action-args (1.0.12)
merb-assets (1.0.12)
merb-auth (1.0.12)
merb-auth-core (1.0.12)
merb-auth-more (1.0.12)
merb-auth-slice-password (1.0.12)
merb-cache (1.0.12)
merb-core (1.0.12)
merb-exceptions (1.0.12)
merb-gen (1.0.12)
merb-haml (1.0.12)
merb-helpers (1.0.12)
merb-mailer (1.0.12)
merb-more (1.0.12)
merb-param-protection (1.0.12)
merb-slices (1.0.12)
merb_datamapper (1.0.12)
mime-types (1.16)
mislav-will_paginate (2.3.11)
mocha (0.9.7)
mongrel (1.1.5)
mysql (2.7)
net-scp (1.0.2)
net-sftp (2.0.2)
net-ssh (2.0.11)
net-ssh-gateway (1.0.1)
newrelic_rpm (2.9.3)
nkallen-cache-money (0.2.5)
open4 (0.9.6)
ParseTree (3.0.4)
rack (1.0.0)
rails (2.3.3, 2.3.2)
rake (0.8.7)
randexp (0.1.4)
RedCloth (3.0.4)
rmagick (2.10.0)
rspec (1.2.8)
rspec-rails (1.2.7.1)
ruby-debug (0.10.3)
ruby-debug-base (0.10.3)
ruby-openid (2.1.7)
ruby-prof (0.7.3)
ruby2ruby (1.2.3)
ruby_parser (2.0.3)
rubyforge (1.0.3)
RubyInline (3.8.2)
sanitize (1.0.8)
sexp_processor (3.0.2)
spork (0.5.7)
sqlite3-ruby (1.2.4)
system_timer (1.0)
templater (0.5.0)
termios (0.9.4)
test-unit (1.2.3)
text-format (1.0.0)
text-hyphen (1.0.0)
thor (0.9.9)
thoughtbot-shoulda (2.10.2)
tmail (1.2.3.1)
twitter4r (0.3.1)
tzinfo (0.3.13)
vlad (1.4.0)
vpim (0.695)
xml-simple (1.0.12)
ya2yaml (0.26)
ZenTest (4.1.3)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment