From 2a683f3f7db10ae88bca125a9030a56a42e6d6b8 Mon Sep 17 00:00:00 2001 From: Andy Waite <13400+andyw8@users.noreply.github.com> Date: Sat, 27 Apr 2024 10:45:06 -0400 Subject: [PATCH] [rubygems/rubygems] Clarify `bundle check` behaviour in docs https://github.com/rubygems/rubygems/commit/c438c6db2e --- lib/bundler/man/bundle-check.1 | 2 ++ lib/bundler/man/bundle-check.1.ronn | 3 +++ 2 files changed, 5 insertions(+) diff --git a/lib/bundler/man/bundle-check.1 b/lib/bundler/man/bundle-check.1 index 08d41b7881..27c863e97f 100644 --- a/lib/bundler/man/bundle-check.1 +++ b/lib/bundler/man/bundle-check.1 @@ -9,6 +9,8 @@ \fBcheck\fR searches the local machine for each of the gems requested in the Gemfile\. If all gems are found, Bundler prints a success message and exits with a status of 0\. .P If not, the first missing gem is listed and Bundler exits status 1\. +.P +If a gem in the Gemfile is installed on the local machine, but not yet listed in the lockfile, then the lockfile will be updated to include it\. .SH "OPTIONS" .TP \fB\-\-dry\-run\fR diff --git a/lib/bundler/man/bundle-check.1.ronn b/lib/bundler/man/bundle-check.1.ronn index f2846b8ff2..81e42cc5ad 100644 --- a/lib/bundler/man/bundle-check.1.ronn +++ b/lib/bundler/man/bundle-check.1.ronn @@ -15,6 +15,9 @@ a status of 0. If not, the first missing gem is listed and Bundler exits status 1. +If a gem in the Gemfile is installed on the local machine, but not yet listed +in the lockfile, then the lockfile will be updated to include it. + ## OPTIONS * `--dry-run`: