Skip to content

Commit 63dbb2f

Browse files
jacobathsbt
authored andcommitted
[rubygems/rubygems] Update docs for with/without consistency
The with and without flags accepts both comma and space separated values. ruby/rubygems@b6149f61e3
1 parent 510edbc commit 63dbb2f

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

lib/bundler/man/bundle-config.1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,10 +62,10 @@ A space\-separated list of groups to install only gems of the specified groups\.
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\.
6363
.TP
6464
\fBwithout\fR
65-
A space\-separated list of groups referencing gems to skip during installation\.
65+
A space\-separated or \fB:\fR\-separated list of groups referencing gems to skip during installation\.
6666
.TP
6767
\fBwith\fR
68-
A space\-separated list of \fBoptional\fR groups referencing gems to include during installation\.
68+
A space\-separated or \fB:\fR\-separated list of \fBoptional\fR groups referencing gems to include during installation\.
6969
.SH "BUILD OPTIONS"
7070
You can use \fBbundle config\fR to give Bundler the flags to pass to the gem installer every time bundler tries to install a particular gem\.
7171
.P
@@ -197,9 +197,9 @@ The following is a list of all configuration keys and their purpose\. You can le
197197
.IP "\(bu" 4
198198
\fBversion\fR (\fBBUNDLE_VERSION\fR): The version of Bundler to use when running under Bundler environment\. Defaults to \fBlockfile\fR\. You can also specify \fBsystem\fR or \fBx\.y\.z\fR\. \fBlockfile\fR will use the Bundler version specified in the \fBGemfile\.lock\fR, \fBsystem\fR will use the system version of Bundler, and \fBx\.y\.z\fR will use the specified version of Bundler\.
199199
.IP "\(bu" 4
200-
\fBwith\fR (\fBBUNDLE_WITH\fR): A \fB:\fR\-separated list of groups whose gems bundler should install\.
200+
\fBwith\fR (\fBBUNDLE_WITH\fR): A space\-separated or \fB:\fR\-separated list of groups whose gems bundler should install\.
201201
.IP "\(bu" 4
202-
\fBwithout\fR (\fBBUNDLE_WITHOUT\fR): A \fB:\fR\-separated list of groups whose gems bundler should not install\.
202+
\fBwithout\fR (\fBBUNDLE_WITHOUT\fR): A space\-separated or \fB:\fR\-separated list of groups whose gems bundler should not install\.
203203
.IP "" 0
204204
.SH "LOCAL GIT REPOS"
205205
Bundler also allows you to work against a git repository locally instead of using the remote version\. This can be achieved by setting up a local override:

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

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,12 @@ The options that can be configured are:
9191
installed to other locations will not get listed.
9292

9393
* `without`:
94-
A space-separated list of groups referencing gems to skip during installation.
94+
A space-separated or `:`-separated list of groups referencing gems to skip during
95+
installation.
9596

9697
* `with`:
97-
A space-separated list of **optional** groups referencing gems to include during installation.
98+
A space-separated or `:`-separated list of **optional** groups referencing gems to
99+
include during installation.
98100

99101
## BUILD OPTIONS
100102

@@ -283,9 +285,9 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
283285
`system` will use the system version of Bundler, and `x.y.z` will use
284286
the specified version of Bundler.
285287
* `with` (`BUNDLE_WITH`):
286-
A `:`-separated list of groups whose gems bundler should install.
288+
A space-separated or `:`-separated list of groups whose gems bundler should install.
287289
* `without` (`BUNDLE_WITHOUT`):
288-
A `:`-separated list of groups whose gems bundler should not install.
290+
A space-separated or `:`-separated list of groups whose gems bundler should not install.
289291

290292
## LOCAL GIT REPOS
291293

0 commit comments

Comments
 (0)