From f5df3580132e7ae3cb6ac3c1d7e0b45114b94c57 Mon Sep 17 00:00:00 2001 From: Oskar Eichler <62393985+OskarEichler@users.noreply.github.com> Date: Sat, 29 Aug 2026 18:42:06 +0200 Subject: [PATCH] Preserve absent Gemfile lock paths --- lib/rbs/collection/config/lockfile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbs/collection/config/lockfile.rb b/lib/rbs/collection/config/lockfile.rb index 5f4c4c93f3..7496c6e409 100644 --- a/lib/rbs/collection/config/lockfile.rb +++ b/lib/rbs/collection/config/lockfile.rb @@ -31,7 +31,7 @@ def to_lockfile data = { "path" => path.to_s, "gems" => gems.each_value.sort_by {|g| g[:name] }.map {|hash| library_data(hash) }, - "gemfile_lock_path" => gemfile_lock_path.to_s + "gemfile_lock_path" => gemfile_lock_path&.to_s } data.delete("gems") if gems.empty?