From 4ccccfc9490deebceabda1c1f56d6c24b6eb9ec2 Mon Sep 17 00:00:00 2001 From: Ken Collins Date: Tue, 27 Apr 2021 08:02:50 -0400 Subject: [PATCH] Use SystemCallError vs Errno::EROFS --- lib/bootsnap/load_path_cache/store.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bootsnap/load_path_cache/store.rb b/lib/bootsnap/load_path_cache/store.rb index 835daee5..5f5e9fa2 100644 --- a/lib/bootsnap/load_path_cache/store.rb +++ b/lib/bootsnap/load_path_cache/store.rb @@ -91,7 +91,7 @@ def dump_data FileUtils.mv(tmp, @store_path) rescue Errno::EEXIST retry - rescue Errno::EROFS + rescue SystemCallError end end end