global

def require(path)

def require(path)
  if resolved = Bootsnap::LoadPathCache.load_path_cache.find(path)
    require_without_cache(resolved)
  else
    raise Bootsnap::LoadPathCache::CoreExt.make_load_error(path)
  end
rescue Bootsnap::LoadPathCache::ReturnFalse
  return false
rescue Bootsnap::LoadPathCache::FallbackScan
  require_without_cache(path)
end