From 33201adf686044163951de3068ca915fd6cea6cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Wed, 12 Mar 2025 18:15:14 +0100 Subject: [PATCH] [rubygems/rubygems] Fix frozen error message incorrectly mentioning the Gemfile It meant to mention the lockfile here. https://github.com/rubygems/rubygems/commit/2f0233a0fb --- lib/bundler/definition.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 557315af4f..7f88f10fc1 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -544,7 +544,7 @@ module Bundler msg << "\n\nYou have added to the Gemfile:\n" << added.join("\n") if added.any? msg << "\n\nYou have deleted from the Gemfile:\n" << deleted.join("\n") if deleted.any? msg << "\n\nYou have changed in the Gemfile:\n" << changed.join("\n") if changed.any? - msg << "\n\nRun `bundle install` elsewhere and add the updated #{SharedHelpers.relative_gemfile_path} to version control.\n" unless unlocking? + msg << "\n\nRun `bundle install` elsewhere and add the updated #{SharedHelpers.relative_lockfile_path} to version control.\n" unless unlocking? msg end