class Bootsnap::LoadPathCache::Store
def mkdir_p(path)
def mkdir_p(path) stack = [] until File.directory?(path) stack.push path path = File.dirname(path) end stack.reverse_each do |dir| begin Dir.mkdir(dir) rescue SystemCallError raise unless File.directory?(dir) end end end