module Bootsnap
def setup(
def setup( cache_dir:, development_mode: true, load_path_cache: true, ignore_directories: nil, compile_cache_iseq: true, compile_cache_yaml: true, compile_cache_json: true ) if load_path_cache Bootsnap::LoadPathCache.setup( cache_path: "#{cache_dir}/bootsnap/load-path-cache", development_mode: development_mode, ignore_directories: ignore_directories, ) end Bootsnap::CompileCache.setup( cache_dir: "#{cache_dir}/bootsnap/compile-cache", iseq: compile_cache_iseq, yaml: compile_cache_yaml, json: compile_cache_json, ) end