[rubygems/rubygems] Fix frozen error message incorrectly mentioning the Gemfile

It meant to mention the lockfile here.

https://github.com/rubygems/rubygems/commit/2f0233a0fb
This commit is contained in:
David Rodríguez 2025-03-12 18:15:14 +01:00 committed by Hiroshi SHIBATA
parent 08d81ac627
commit 33201adf68
Notes: git 2025-03-24 04:25:33 +00:00

View File

@ -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