{"action":"closed","issue":{"url":"https://api.github.com/repos/grosser/parallel_tests/issues/517","repository_url":"https://api.github.com/repos/grosser/parallel_tests","labels_url":"https://api.github.com/repos/grosser/parallel_tests/issues/517/labels{/name}","comments_url":"https://api.github.com/repos/grosser/parallel_tests/issues/517/comments","events_url":"https://api.github.com/repos/grosser/parallel_tests/issues/517/events","html_url":"https://github.com/grosser/parallel_tests/issues/517","id":169016626,"number":517,"title":"rake parallel:prepare fails with ActiveRecord::NoEnvironmentInSchemaError","user":{"login":"ohrite","id":381219,"avatar_url":"https://avatars.githubusercontent.com/u/381219?v=3","gravatar_id":"","url":"https://api.github.com/users/ohrite","html_url":"https://github.com/ohrite","followers_url":"https://api.github.com/users/ohrite/followers","following_url":"https://api.github.com/users/ohrite/following{/other_user}","gists_url":"https://api.github.com/users/ohrite/gists{/gist_id}","starred_url":"https://api.github.com/users/ohrite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohrite/subscriptions","organizations_url":"https://api.github.com/users/ohrite/orgs","repos_url":"https://api.github.com/users/ohrite/repos","events_url":"https://api.github.com/users/ohrite/events{/privacy}","received_events_url":"https://api.github.com/users/ohrite/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-08-02T23:57:47Z","updated_at":"2016-08-05T19:04:51Z","closed_at":"2016-08-05T19:04:51Z","body":"Previous to Rails 5, I was able to `rake parallel:prepare` all the test databases quite happily.  Now I get about 8 of these:\r\n\r\n```\r\nrake aborted!\r\nActiveRecord::NoEnvironmentInSchemaError:\r\n\r\nEnvironment data not found in the schema. To resolve this issue, run:\r\n\r\n\tbin/rails db:environment:set RAILS_ENV=test\r\n\r\n...snip...\r\n\r\nTasks: TOP => db:drop => db:check_protected_environments\r\n(See full trace by running task with --trace)\r\n```\r\n\r\nRelated to https://github.com/rails/rails/issues/23279, I think?"}}
{"actor":{"display_login":"grosser"}}