Has anyone come up with better solutions here? I’m trying to install ForestAdmin on a pre-existing Rails app that uses Zeitwerk. Turning the loader back to “classic” isn’t really an option. I’m currently stuck trying to install ForestAdmin.
Thanks for your assistance. I tried running both commands, and both commands failed with the error:
Just FYI, I am running Rails 6 at the moment, and Zeitwerk is definitely enabled.
expected file /tmp/volumes/gems/gems/forest_liana-7.4.5/app/services/forest_liana/ip_whitelist_checker.rb to define constant ForestLiana::IPWhitelistChecker, but didn't (Zeitwerk::NameError)
I’m back to try this again two years later, and this worked! I also needed to add an inflection for “ip_whitelist” => “IpWhitelist”, but it looks like it’s installed!