Skip to content

Commit a98c3d2

Browse files
devshevahsbt
authored andcommitted
[rubygems/rubygems] docs(bundle-config): hint default group when using only option
ruby/rubygems@c258e45b44
1 parent 29e3ee0 commit a98c3d2

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/bundler/man/bundle-config.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Creates a directory (defaults to \fB~/bin\fR) and place any executables from the
5656
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\.
5757
.TP
5858
\fBonly\fR
59-
A space\-separated list of groups to install only gems of the specified groups\.
59+
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\.
6060
.TP
6161
\fBpath\fR
6262
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\.

lib/bundler/man/bundle-config.1.ronn

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ The options that can be configured are:
7979

8080
* `only`:
8181
A space-separated list of groups to install only gems of the specified groups.
82+
Please check carefully if you want to install also gems without a group, cause
83+
they get put inside `default` group. For example `only test:default` will install
84+
all gems specified in test group and without one.
8285

8386
* `path`:
8487
The location to install the specified gems to. This defaults to Rubygems'

0 commit comments

Comments
 (0)