I’ve found a temporary workaround: add require "logger" before require "rails".
require "logger"
require "rails"
However, I believe that locking the version of concurrent-ruby is a more reliable solution.