Coder Social home page Coder Social logo

Comments (10)

ktec avatar ktec commented on August 20, 2024 6

Anyone coming here, I found adding a little debug to the rails file ...gems/railties-5.0.0/lib/rails/initializable.rb was enough to point me in the right direction....

    def run_initializers(group=:default, *args)
      return if instance_variable_defined?(:@ran)
      initializers.tsort_each do |initializer|
        puts "Initializer: #{initializer.name}"   <<<<<<<<<<<<<< HERE
        initializer.run(*args) if initializer.belongs_to?(group)
      end
      @ran = true
    end

from gretel.

WilHall avatar WilHall commented on August 20, 2024 3

@aried3r Yes, hopefully in another week or so.

from gretel.

acrolink avatar acrolink commented on August 20, 2024 1

@ktec Thanks, I will try the method you had suggested later and report back.

from gretel.

alecrubin avatar alecrubin commented on August 20, 2024 1

@WilHall @aried3r any updates on resolving this issue?

from gretel.

acrolink avatar acrolink commented on August 20, 2024

@craig1410 Would you please explain how to debug this in order to find which gem is causing the warnings?

from gretel.

craig1410 avatar craig1410 commented on August 20, 2024

@acrolink It was a few months ago when I did this but I think I just used my RubyMine IDE debugger tools to step into the code and framework and eventually by interrogating the variables during loading of gems I found the gem responsible. Sorry I can't be more specific and I'm sure there are better ways to do this but I'm pretty sure this is what I did.

Hope this helps, Craig.

from gretel.

acrolink avatar acrolink commented on August 20, 2024

Thanks @craig1410 I will give that a try.

from gretel.

aried3r avatar aried3r commented on August 20, 2024

Any plans for a release with this change? Since Rails 5 is out and all :)

from gretel.

kevinelliott avatar kevinelliott commented on August 20, 2024

I'm also curious about how to resolve this.

from gretel.

aried3r avatar aried3r commented on August 20, 2024

This has been fixed in 3.0.9 I believe, see https://github.com/lassebunk/gretel/blob/v3.0.9/lib/gretel/deprecated/show_root_alone.rb

from gretel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.