module Bootsnap::CompileCache

def self.permission_error(path)

def self.permission_error(path)
  cpath = Bootsnap::CompileCache::ISeq.cache_dir
  raise(
    PermissionError,
    "bootsnap doesn't have permission to write cache entries in '#{cpath}' " \
    "(or, less likely, doesn't have permission to read '#{path}')",
  )
end