-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Description
I tried to bump our app to latest rails 8.1, but I had this error:
TSort::Cyclic: topological sort failed: [#<Rails::Initializable::Initializer:0x000000012f4d9600 @group=:default, @name=:logstasher, @before=:load_config_initializers, @after=nil, @context=#<LogStasher::Railtie>, @block=#<Proc:0x000000012897fc60 /Users/skelz0r/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/logstasher-2.1.5/lib/logstasher/railtie.rb:43>>, #<Rails::Initializable::Initializer:0x000000012f4d9560 @group=:default, @name=:logstasher, @before=nil, @after=:logstasher, @context=#<LogStasher::Railtie>, @block=#<Proc:0x000000012897fb70 /Users/skelz0r/.rbenv/versions/3.4.1/lib/ruby/gems/3.4.0/gems/logstasher-2.1.5/lib/logstasher/railtie.rb:56>>] (TSort::Cyclic)It seems to be an issue with a "duplicate" initializer within railtie.rb here and here
Not sure how to fix here, maybe just merge these 2 blocks?
Metadata
Metadata
Assignees
Labels
No labels