For a large (non-Rails) ruby project with thousands files not following naming convention for class, module and constants that uses a lot require and require_relative and potential circular dependency, is there a way to detect them so that corrective action could be apply and allow adopting the code loader?
I have found something for Rails projecthttps://github.com/rails/rails/blob/main/railties/lib/rails/zeitwerk_checker.rb