mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 13:34:17 +02:00

There already different ways of toggling off this behavior, like setting
`bundle config clean false`, or configuring Bundler to install to system
gems with `bundle config path.system true`.
6daa09f60a
24 lines
1.1 KiB
Groff
24 lines
1.1 KiB
Groff
.\" generated with Ronn-NG/v0.10.1
|
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
.TH "BUNDLE\-CHECK" "1" "July 2025" ""
|
|
.SH "NAME"
|
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
|
.SH "SYNOPSIS"
|
|
\fBbundle check\fR [\-\-dry\-run] [\-\-gemfile=FILE] [\-\-path=PATH]
|
|
.SH "DESCRIPTION"
|
|
\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 the lockfile needs to be updated then it will be resolved using the gems installed on the local machine, if they satisfy the requirements\.
|
|
.SH "OPTIONS"
|
|
.TP
|
|
\fB\-\-dry\-run\fR
|
|
Locks the [\fBGemfile(5)\fR][Gemfile(5)] before running the command\.
|
|
.TP
|
|
\fB\-\-gemfile=GEMFILE\fR
|
|
Use the specified gemfile instead of the [\fBGemfile(5)\fR][Gemfile(5)]\.
|
|
.TP
|
|
\fB\-\-path=PATH\fR
|
|
Specify a different path than the system default (\fB$BUNDLE_PATH\fR or \fB$GEM_HOME\fR)\. Bundler will remember this value for future installs on this machine\.
|
|
|