{"action":"created","issue":{"url":"https://api.github.com/repos/mikel/mail/issues/912","labels_url":"https://api.github.com/repos/mikel/mail/issues/912/labels{/name}","comments_url":"https://api.github.com/repos/mikel/mail/issues/912/comments","events_url":"https://api.github.com/repos/mikel/mail/issues/912/events","html_url":"https://github.com/mikel/mail/issues/912","id":108504016,"number":912,"title":"NameError: uninitialized constant Mail::Parsers::ContentTypeParser","user":{"login":"hiattp","id":571459,"avatar_url":"https://avatars.githubusercontent.com/u/571459?v=3","gravatar_id":"","url":"https://api.github.com/users/hiattp","html_url":"https://github.com/hiattp","followers_url":"https://api.github.com/users/hiattp/followers","following_url":"https://api.github.com/users/hiattp/following{/other_user}","gists_url":"https://api.github.com/users/hiattp/gists{/gist_id}","starred_url":"https://api.github.com/users/hiattp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hiattp/subscriptions","organizations_url":"https://api.github.com/users/hiattp/orgs","repos_url":"https://api.github.com/users/hiattp/repos","events_url":"https://api.github.com/users/hiattp/events{/privacy}","received_events_url":"https://api.github.com/users/hiattp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-09-27T00:07:20Z","updated_at":"2015-11-09T20:35:15Z","closed_at":null,"body":"Just saw this error in our Rails 4.2.2 app running mail 2.6.3 on ruby 2.0.0. Any suggestions on how to track it down? Thanks!"},"comment":{"url":"https://api.github.com/repos/mikel/mail/issues/comments/155185301","html_url":"https://github.com/mikel/mail/issues/912#issuecomment-155185301","issue_url":"https://api.github.com/repos/mikel/mail/issues/912","id":155185301,"user":{"login":"airimie","id":12729,"avatar_url":"https://avatars.githubusercontent.com/u/12729?v=3","gravatar_id":"","url":"https://api.github.com/users/airimie","html_url":"https://github.com/airimie","followers_url":"https://api.github.com/users/airimie/followers","following_url":"https://api.github.com/users/airimie/following{/other_user}","gists_url":"https://api.github.com/users/airimie/gists{/gist_id}","starred_url":"https://api.github.com/users/airimie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/airimie/subscriptions","organizations_url":"https://api.github.com/users/airimie/orgs","repos_url":"https://api.github.com/users/airimie/repos","events_url":"https://api.github.com/users/airimie/events{/privacy}","received_events_url":"https://api.github.com/users/airimie/received_events","type":"User","site_admin":false},"created_at":"2015-11-09T20:35:15Z","updated_at":"2015-11-09T20:35:15Z","body":"require 'mail/elements' is called after register_autoload :Parsers, \"mail/parsers\" (which probably it is not thread safe - looking at http://rxr.whitequark.org/mri/source/variable.c#1597 the only thing that method is doing is to add to a table the files to be loaded. This looks very much like the rails autoloading hell :) http://urbanautomaton.com/blog/2013/08/27/rails-autoloading-hell/ The solution will be to not use the autoloading at all."}}