diff --git a/lib/bootsnap/load_path_cache/change_observer.rb b/lib/bootsnap/load_path_cache/change_observer.rb index f3d24ebb..ac4d45c2 100644 --- a/lib/bootsnap/load_path_cache/change_observer.rb +++ b/lib/bootsnap/load_path_cache/change_observer.rb @@ -16,13 +16,13 @@ def push(*entries) super end - def unshift(*entries) - @lpc_observer.unshift_paths(self, *entries.map(&:to_s)) + def append(*entries) + @lpc_observer.push_paths(self, *entries.map(&:to_s)) super end - def concat(entries) - @lpc_observer.push_paths(self, *entries.map(&:to_s)) + def unshift(*entries) + @lpc_observer.unshift_paths(self, *entries.map(&:to_s)) super end @@ -31,7 +31,7 @@ def prepend(*entries) super end - def append(*entries) + def concat(entries) @lpc_observer.push_paths(self, *entries.map(&:to_s)) super end