lib/bootsnap/compile_cache/yaml.rb in bootsnap-1.6.0 vs lib/bootsnap/compile_cache/yaml.rb in bootsnap-1.7.0
- old
+ new
@@ -94,10 +94,10 @@
end
begin
::Bootsnap::CompileCache::Native.fetch(
Bootsnap::CompileCache::YAML.cache_dir,
- path,
+ File.realpath(path),
::Bootsnap::CompileCache::YAML,
kwargs,
)
rescue Errno::EACCES
::Bootsnap::CompileCache.permission_error(path)