I was initially skeptical to another code loader, but Zeitwerk is actually very very nice: https://github.com/fxn/zeitwerk. it's based on Ruby's built-in autoload (as opposed to const_missing) so constant resolution works as expected
A Mastodon instance for Rubyists & friends