{"action":"opened","issue":{"url":"https://api.github.com/repos/CrossRef/lagotto/issues/15","repository_url":"https://api.github.com/repos/CrossRef/lagotto","labels_url":"https://api.github.com/repos/CrossRef/lagotto/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/CrossRef/lagotto/issues/15/comments","events_url":"https://api.github.com/repos/CrossRef/lagotto/issues/15/events","html_url":"https://github.com/CrossRef/lagotto/issues/15","id":144964539,"number":15,"title":"5.0 doesn't install","user":{"login":"afandian","id":389345,"avatar_url":"https://avatars.githubusercontent.com/u/389345?v=3","gravatar_id":"","url":"https://api.github.com/users/afandian","html_url":"https://github.com/afandian","followers_url":"https://api.github.com/users/afandian/followers","following_url":"https://api.github.com/users/afandian/following{/other_user}","gists_url":"https://api.github.com/users/afandian/gists{/gist_id}","starred_url":"https://api.github.com/users/afandian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afandian/subscriptions","organizations_url":"https://api.github.com/users/afandian/orgs","repos_url":"https://api.github.com/users/afandian/repos","events_url":"https://api.github.com/users/afandian/events{/privacy}","received_events_url":"https://api.github.com/users/afandian/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-31T17:25:35Z","updated_at":"2016-03-31T17:25:35Z","closed_at":null,"body":"Running standard `cap production deploy` doesn't work on a new server. Data migrations for Events reference classes that now don't exist. \r\n\r\n```\r\nrake stdout: == 20150324114452 ChangeMetricsDefaultToZero: migrating - Shard: master =======\r\nrake stderr: rake aborted!\r\nStandardError: An error has occurred, all later migrations canceled:\r\n\r\nuninitialized constant ChangeMetricsDefaultToZero::Event/var/www/ced_production/releases/20160331165734/db/data_migrate/20150324114452_change_metrics_default_to_zero.rb:3:in `up'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/activerecord-4.2.6/lib/active_record/migration.rb:611:in `exec_migration'\r\n```\r\n\r\nRunning `bundle exec rake db:setup` directly with an empty db on the server also fails (after working for a bit)\r\n\r\n```\r\nD, [2016-03-31T19:23:20.605226 #22188] DEBUG -- : Planting Source with sprig_id crossref\r\nI, [2016-03-31T19:23:20.655306 #22188]  INFO -- : Saved\r\nD, [2016-03-31T19:23:20.655374 #22188] DEBUG -- : Planting Source with sprig_id scopus\r\nrake aborted!\r\nNoMethodError: undefined method `eventable=' for #<Source:0x00000004aa6758>\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/activemodel-4.2.6/lib/active_model/attribute_methods.rb:433:in `method_missing'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/seed/record.rb:35:in `block in populate_attributes'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/seed/attribute_collection.rb:6:in `each'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/seed/attribute_collection.rb:6:in `each'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/seed/record.rb:34:in `populate_attributes'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/seed/record.rb:21:in `save'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/seed/entry.rb:30:in `save_record'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/planter.rb:31:in `plant'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/planter.rb:9:in `block in sprig'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/planter.rb:8:in `each'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/planter.rb:8:in `sprig'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/sprig-0.1.9/lib/sprig/helpers.rb:10:in `sprig'\r\n/var/www/ced_production/releases/20160331170319/db/seeds/development.rb:7:in `<top (required)>'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `block in load'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:240:in `load_dependency'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'\r\n/var/www/ced_production/releases/20160331170319/db/seeds.rb:6:in `<top (required)>'\r\n/var/www/ced_production/shared/vendor/bundle/ruby/2.1.0/gems/activesupport-4.2.6/lib/active_support/dependencies.rb:268:in `load'\r\n```\r\n"}}