Skip to content

Commit 418dfbf

Browse files
Add missing --gemfile flag to exec, lock, and update command's help
1 parent 33ff4f8 commit 418dfbf

File tree

6 files changed

+24
-4
lines changed

6 files changed

+24
-4
lines changed

bundler/lib/bundler/man/bundle-exec.1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.SH "NAME"
55
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
66
.SH "SYNOPSIS"
7-
\fBbundle exec\fR [\-\-keep\-file\-descriptors] \fIcommand\fR
7+
\fBbundle exec\fR [\-\-keep\-file\-descriptors] [\-\-gemfile=GEMFILE] \fIcommand\fR
88
.SH "DESCRIPTION"
99
This command executes the command, making all gems specified in the [\fBGemfile(5)\fR][Gemfile(5)] available to \fBrequire\fR in Ruby programs\.
1010
.P
@@ -15,6 +15,9 @@ Note that \fBbundle exec\fR does not require that an executable is available on
1515
.TP
1616
\fB\-\-keep\-file\-descriptors\fR
1717
Passes all file descriptors to the new processes\. Default is true from bundler version 2\.2\.26\. Setting it to false is now deprecated\.
18+
.TP
19+
\fB\-\-gemfile=GEMFILE\fR
20+
Use the specified gemfile instead of [\fBGemfile(5)\fR][Gemfile(5)]\.
1821
.SH "BUNDLE INSTALL \-\-BINSTUBS"
1922
If you use the \fB\-\-binstubs\fR flag in bundle install(1) \fIbundle\-install\.1\.html\fR, Bundler will automatically create a directory (which defaults to \fBapp_root/bin\fR) containing all of the executables available from gems in the bundle\.
2023
.P

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ bundle-exec(1) -- Execute a command in the context of the bundle
33

44
## SYNOPSIS
55

6-
`bundle exec` [--keep-file-descriptors] <command>
6+
`bundle exec` [--keep-file-descriptors] [--gemfile=GEMFILE] <command>
77

88
## DESCRIPTION
99

@@ -24,6 +24,9 @@ available on your shell's `$PATH`.
2424
Passes all file descriptors to the new processes. Default is true from
2525
bundler version 2.2.26. Setting it to false is now deprecated.
2626

27+
* `--gemfile=GEMFILE`:
28+
Use the specified gemfile instead of [`Gemfile(5)`][Gemfile(5)].
29+
2730
## BUNDLE INSTALL --BINSTUBS
2831

2932
If you use the `--binstubs` flag in [bundle install(1)](bundle-install.1.html), Bundler will

bundler/lib/bundler/man/bundle-lock.1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.SH "NAME"
55
\fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
66
.SH "SYNOPSIS"
7-
\fBbundle lock\fR [\-\-update] [\-\-local] [\-\-print] [\-\-lockfile=PATH] [\-\-full\-index] [\-\-add\-platform] [\-\-remove\-platform] [\-\-patch] [\-\-minor] [\-\-major] [\-\-strict] [\-\-conservative]
7+
\fBbundle lock\fR [\-\-update] [\-\-local] [\-\-print] [\-\-lockfile=PATH] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-add\-platform] [\-\-remove\-platform] [\-\-patch] [\-\-minor] [\-\-major] [\-\-strict] [\-\-conservative]
88
.SH "DESCRIPTION"
99
Lock the gems specified in Gemfile\.
1010
.SH "OPTIONS"
@@ -24,6 +24,9 @@ The path where the lockfile should be written to\.
2424
\fB\-\-full\-index\fR
2525
Fall back to using the single\-file index of all gems\.
2626
.TP
27+
\fB\-\-gemfile=GEMFILE\fR
28+
Use the specified gemfile instead of [\fBGemfile(5)\fR][Gemfile(5)]\.
29+
.TP
2730
\fB\-\-add\-platform\fR
2831
Add a new platform to the lockfile, re\-resolving for the addition of that platform\.
2932
.TP

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ bundle-lock(1) -- Creates / Updates a lockfile without installing
88
[--print]
99
[--lockfile=PATH]
1010
[--full-index]
11+
[--gemfile=GEMFILE]
1112
[--add-platform]
1213
[--remove-platform]
1314
[--patch]
@@ -41,6 +42,9 @@ Lock the gems specified in Gemfile.
4142
* `--full-index`:
4243
Fall back to using the single-file index of all gems.
4344

45+
* `--gemfile=GEMFILE`:
46+
Use the specified gemfile instead of [`Gemfile(5)`][Gemfile(5)].
47+
4448
* `--add-platform`:
4549
Add a new platform to the lockfile, re-resolving for the addition of that
4650
platform.

bundler/lib/bundler/man/bundle-update.1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
.SH "NAME"
55
\fBbundle\-update\fR \- Update your gems to the latest available versions
66
.SH "SYNOPSIS"
7-
\fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-jobs=JOBS] [\-\-quiet] [\-\-patch|\-\-minor|\-\-major] [\-\-redownload] [\-\-strict] [\-\-conservative]
7+
\fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=JOBS] [\-\-quiet] [\-\-patch|\-\-minor|\-\-major] [\-\-redownload] [\-\-strict] [\-\-conservative]
88
.SH "DESCRIPTION"
99
Update the gems specified (all gems, if \fB\-\-all\fR flag is used), ignoring the previously installed gems specified in the \fBGemfile\.lock\fR\. In general, you should use bundle install(1) \fIbundle\-install\.1\.html\fR to install the same exact gems and versions across machines\.
1010
.P
@@ -32,6 +32,9 @@ Update the locked version of bundler to the invoked bundler version\.
3232
\fB\-\-full\-index\fR
3333
Fall back to using the single\-file index of all gems\.
3434
.TP
35+
\fB\-\-gemfile=GEMFILE\fR
36+
Use the specified gemfile instead of [\fBGemfile(5)\fR][Gemfile(5)]\.
37+
.TP
3538
\fB\-\-jobs=[<number>]\fR, \fB\-j[<number>]\fR
3639
Specify the number of jobs to run in parallel\. The default is the number of available processors\.
3740
.TP

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ bundle-update(1) -- Update your gems to the latest available versions
1010
[--ruby]
1111
[--bundler[=VERSION]]
1212
[--full-index]
13+
[--gemfile=GEMFILE]
1314
[--jobs=JOBS]
1415
[--quiet]
1516
[--patch|--minor|--major]
@@ -55,6 +56,9 @@ gem.
5556
* `--full-index`:
5657
Fall back to using the single-file index of all gems.
5758

59+
* `--gemfile=GEMFILE`:
60+
Use the specified gemfile instead of [`Gemfile(5)`][Gemfile(5)].
61+
5862
* `--jobs=[<number>]`, `-j[<number>]`:
5963
Specify the number of jobs to run in parallel. The default is the number of
6064
available processors.

0 commit comments

Comments
 (0)