From a98c3d229e77bc25f73aa02cff2d6aed57f80017 Mon Sep 17 00:00:00 2001 From: Mateo Date: Thu, 27 Feb 2025 19:40:01 +0100 Subject: [PATCH] [rubygems/rubygems] docs(bundle-config): hint default group when using only option https://github.com/rubygems/rubygems/commit/c258e45b44 --- lib/bundler/man/bundle-config.1 | 2 +- lib/bundler/man/bundle-config.1.ronn | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/bundler/man/bundle-config.1 b/lib/bundler/man/bundle-config.1 index 768de455d5..0b429b5ade 100644 --- a/lib/bundler/man/bundle-config.1 +++ b/lib/bundler/man/bundle-config.1 @@ -56,7 +56,7 @@ Creates a directory (defaults to \fB~/bin\fR) and place any executables from the In deployment mode, Bundler will 'roll\-out' the bundle for \fBproduction\fR use\. Please check carefully if you want to have this option enabled in \fBdevelopment\fR or \fBtest\fR environments\. .TP \fBonly\fR -A space\-separated list of groups to install only gems of the specified groups\. +A space\-separated list of groups to install only gems of the specified groups\. Please check carefully if you want to install also gems without a group, cause they get put inside \fBdefault\fR group\. For example \fBonly test:default\fR will install all gems specified in test group and without one\. .TP \fBpath\fR The location to install the specified gems to\. This defaults to Rubygems' setting\. Bundler shares this location with Rubygems, \fBgem install \|\.\|\.\|\.\fR will have gem installed there, too\. Therefore, gems installed without a \fB\-\-path \|\.\|\.\|\.\fR setting will show up by calling \fBgem list\fR\. Accordingly, gems installed to other locations will not get listed\. diff --git a/lib/bundler/man/bundle-config.1.ronn b/lib/bundler/man/bundle-config.1.ronn index 00e2081959..bd9f01d004 100644 --- a/lib/bundler/man/bundle-config.1.ronn +++ b/lib/bundler/man/bundle-config.1.ronn @@ -79,6 +79,9 @@ The options that can be configured are: * `only`: A space-separated list of groups to install only gems of the specified groups. + Please check carefully if you want to install also gems without a group, cause + they get put inside `default` group. For example `only test:default` will install + all gems specified in test group and without one. * `path`: The location to install the specified gems to. This defaults to Rubygems'