{"action":"created","issue":{"url":"https://api.github.com/repos/indirect/haml-rails/issues/117","repository_url":"https://api.github.com/repos/indirect/haml-rails","labels_url":"https://api.github.com/repos/indirect/haml-rails/issues/117/labels{/name}","comments_url":"https://api.github.com/repos/indirect/haml-rails/issues/117/comments","events_url":"https://api.github.com/repos/indirect/haml-rails/issues/117/events","html_url":"https://github.com/indirect/haml-rails/issues/117","id":175489972,"number":117,"title":"Circular require warning when loading in Rails 5","user":{"login":"ijdickinson","id":63979,"avatar_url":"https://avatars.githubusercontent.com/u/63979?v=3","gravatar_id":"","url":"https://api.github.com/users/ijdickinson","html_url":"https://github.com/ijdickinson","followers_url":"https://api.github.com/users/ijdickinson/followers","following_url":"https://api.github.com/users/ijdickinson/following{/other_user}","gists_url":"https://api.github.com/users/ijdickinson/gists{/gist_id}","starred_url":"https://api.github.com/users/ijdickinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ijdickinson/subscriptions","organizations_url":"https://api.github.com/users/ijdickinson/orgs","repos_url":"https://api.github.com/users/ijdickinson/repos","events_url":"https://api.github.com/users/ijdickinson/events{/privacy}","received_events_url":"https://api.github.com/users/ijdickinson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-09-07T12:28:44Z","updated_at":"2016-09-07T21:11:40Z","closed_at":null,"body":"I have a Rails engine project that has been running fine under 4.2.3. Attempting to upgrade to Rails 5.0.0.1 today, I get a warning when I run my tests (see long stacktrace below).  What I'm not sure about is whether this was always occurring, and Rails 5 is now more picky about reporting the circularity, or whether it's a change introduced by Rails 5.\r\n\r\nMy tests still complete, but obviously I'd like to find out what's causing the log noise in case it's indicating a genuine problem.\r\n\r\nStack trace:\r\n\r\n    /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293: warning: loading in progress, circular require considered harmful - /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/haml-4.0.7/lib/haml/template.rb\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb:4:in  `<main>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb:4:in  `select'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb:9:in  `block in <main>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb:9:in  `each'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb:10:in  `block (2 levels) in <main>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/rake-11.2.2/lib/rake/rake_test_loader.rb:10:in  `require'\r\n    from /home/ian/workspace/epimorphics/qonsole-rails/test/controllers/qonsole_rails/qonsole_controller_test.rb:1:in  `<top (required)>'\r\n    from /home/ian/workspace/epimorphics/qonsole-rails/test/controllers/qonsole_rails/qonsole_controller_test.rb:1:in  `require'\r\n    from /home/ian/workspace/epimorphics/qonsole-rails/test/test_helper.rb:23:in  `<top (required)>'\r\n    from /home/ian/workspace/epimorphics/qonsole-rails/test/test_helper.rb:23:in  `require'\r\n    from /home/ian/workspace/epimorphics/qonsole-rails/test/dummy/config/environment.rb:5:in  `<top (required)>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:in  `method_missing'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/railtie.rb:193:in  `public_send'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/application.rb:352:in  `initialize!'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:54:in  `run_initializers'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:205:in  `tsort_each'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:226:in  `tsort_each'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in  `each_strongly_connected_component'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in  `call'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:347:in  `each'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:349:in  `block in each_strongly_connected_component'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:431:in  `each_strongly_connected_component_from'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:350:in  `block (2 levels) in each_strongly_connected_component'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/2.3.0/tsort.rb:228:in  `block in tsort_each'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:55:in  `block in run_initializers'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in  `run'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/railties-5.0.0.1/lib/rails/initializable.rb:30:in  `instance_exec'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/haml-4.0.7/lib/haml/railtie.rb:13:in  `block in <class:Railtie>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in  `load_dependency'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `block in require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/haml-4.0.7/lib/haml/template.rb:3:in  `<top (required)>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in  `load_dependency'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `block in require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:1:in  `<top (required)>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/haml-4.0.7/lib/haml/helpers/action_view_mods.rb:2:in  `<module:ActionView>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in  `load_dependency'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `block in require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionview-5.0.0.1/lib/action_view/base.rb:10:in  `<top (required)>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionview-5.0.0.1/lib/action_view/base.rb:139:in  `<module:ActionView>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/actionview-5.0.0.1/lib/action_view/base.rb:215:in  `<class:Base>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in  `run_load_hooks'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in  `each'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:45:in  `block in run_load_hooks'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in  `execute_hook'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in  `instance_eval'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/haml-4.0.7/lib/haml/railtie.rb:5:in  `block (2 levels) in <top (required)>'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:259:in  `load_dependency'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `block in require'\r\n    from /home/ian/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/activesupport-5.0.0.1/lib/active_support/dependencies.rb:293:in  `require'\r\n"},"comment":{"url":"https://api.github.com/repos/indirect/haml-rails/issues/comments/245420651","html_url":"https://github.com/indirect/haml-rails/issues/117#issuecomment-245420651","issue_url":"https://api.github.com/repos/indirect/haml-rails/issues/117","id":245420651,"user":{"login":"indirect","id":78,"avatar_url":"https://avatars.githubusercontent.com/u/78?v=3","gravatar_id":"","url":"https://api.github.com/users/indirect","html_url":"https://github.com/indirect","followers_url":"https://api.github.com/users/indirect/followers","following_url":"https://api.github.com/users/indirect/following{/other_user}","gists_url":"https://api.github.com/users/indirect/gists{/gist_id}","starred_url":"https://api.github.com/users/indirect/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/indirect/subscriptions","organizations_url":"https://api.github.com/users/indirect/orgs","repos_url":"https://api.github.com/users/indirect/repos","events_url":"https://api.github.com/users/indirect/events{/privacy}","received_events_url":"https://api.github.com/users/indirect/received_events","type":"User","site_admin":false},"created_at":"2016-09-07T21:11:40Z","updated_at":"2016-09-07T21:11:40Z","body":"I definitely can’t do anything about the haml gem, sorry."}}
{"actor":{"display_login":"indirect"}}