{"action":"opened","issue":{"url":"https://api.github.com/repos/kikonen/ngannotate-rails/issues/21","labels_url":"https://api.github.com/repos/kikonen/ngannotate-rails/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/kikonen/ngannotate-rails/issues/21/comments","events_url":"https://api.github.com/repos/kikonen/ngannotate-rails/issues/21/events","html_url":"https://github.com/kikonen/ngannotate-rails/issues/21","id":74149068,"number":21,"title":"Fails on Heroku","user":{"login":"jasdeepsingh","id":603900,"avatar_url":"https://avatars.githubusercontent.com/u/603900?v=3","gravatar_id":"","url":"https://api.github.com/users/jasdeepsingh","html_url":"https://github.com/jasdeepsingh","followers_url":"https://api.github.com/users/jasdeepsingh/followers","following_url":"https://api.github.com/users/jasdeepsingh/following{/other_user}","gists_url":"https://api.github.com/users/jasdeepsingh/gists{/gist_id}","starred_url":"https://api.github.com/users/jasdeepsingh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasdeepsingh/subscriptions","organizations_url":"https://api.github.com/users/jasdeepsingh/orgs","repos_url":"https://api.github.com/users/jasdeepsingh/repos","events_url":"https://api.github.com/users/jasdeepsingh/events{/privacy}","received_events_url":"https://api.github.com/users/jasdeepsingh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-07T22:29:32Z","updated_at":"2015-05-07T22:29:32Z","closed_at":null,"body":"I'm trying to use this gem in my app which is being deployed on Heroku, everything works locally, however things break down in production. I've tried the solution mentioned in #10 as well, but it didn't help...\r\n\r\n```\r\nRunning `rake db:migrate --trace` attached to terminal... up, run.3599\r\n** Invoke db:migrate (first_time)\r\n** Invoke environment (first_time)\r\n** Execute environment\r\nrake aborted!\r\nNoMethodError: undefined method `register_postprocessor' for nil:NilClass\r\n/app/vendor/bundle/ruby/2.2.0/gems/ngannotate-rails-1.0.0/lib/ngannotate/rails/railtie.rb:34:in `block in <class:Railtie>'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `instance_exec'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/initializable.rb:30:in `run'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/initializable.rb:55:in `block in run_initializers'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:226:in `block in tsort_each'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:348:in `block (2 levels) in each_strongly_connected_component'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:429:in `each_strongly_connected_component_from'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:347:in `block in each_strongly_connected_component'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `each'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `call'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:345:in `each_strongly_connected_component'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:224:in `tsort_each'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/tsort.rb:203:in `tsort_each'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/initializable.rb:54:in `run_initializers'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/application.rb:352:in `initialize!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/railtie.rb:194:in `public_send'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/railtie.rb:194:in `method_missing'\r\n/app/config/environment.rb:5:in `<top (required)>'\r\n/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'\r\n/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `block in require'\r\n/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:240:in `load_dependency'\r\n/app/vendor/bundle/ruby/2.2.0/gems/activesupport-4.2.1/lib/active_support/dependencies.rb:274:in `require'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/application.rb:328:in `require_environment!'\r\n/app/vendor/bundle/ruby/2.2.0/gems/railties-4.2.1/lib/rails/application.rb:457:in `block in run_tasks_blocks'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:240:in `call'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:240:in `block in execute'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:235:in `each'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:235:in `execute'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:179:in `block in invoke_with_call_chain'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:201:in `block in invoke_prerequisites'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:199:in `each'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:199:in `invoke_prerequisites'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:178:in `block in invoke_with_call_chain'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/monitor.rb:211:in `mon_synchronize'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:172:in `invoke_with_call_chain'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/task.rb:165:in `invoke'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:150:in `invoke_task'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:106:in `block (2 levels) in top_level'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:106:in `each'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:106:in `block in top_level'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:115:in `run_with_threads'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:100:in `top_level'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:78:in `block in run'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:176:in `standard_exception_handling'\r\n/app/vendor/ruby-2.2.0/lib/ruby/2.2.0/rake/application.rb:75:in `run'\r\n/app/bin/rake:4:in `<main>'\r\n```"}}