For me (MacOs Ventura 13.1) Adzap's answer worked but without the require "bootsnap/setup" since that wouldn't run. Simply adding require "logger" to config/boot.rb did the trick.