." generated with nRonn/v0.11.1 ." github.com/n-ronn/nronn/tree/0.11.1 .TH “BUNDLE-LOCK” “1” “October 2024” “” .SH “NAME” fBbundle-lockfR - Creates / Updates a lockfile without installing .SH “SYNOPSIS” fBbundle lockfR [--update] [--local] [--print] [--lockfile=PATH] [--full-index] [--add-platform] [--remove-platform] [--patch] [--minor] [--major] [--strict] [--conservative] .SH “DESCRIPTION” Lock the gems specified in Gemfile. .SH “OPTIONS” .TP fB--update=<*gems>fR Ignores the existing lockfile. Resolve then updates lockfile. Taking a list of gems or updating all gems if no list is given. .TP fB--localfR Do not attempt to connect to fBrubygems.orgfR. Instead, Bundler will use the gems already present in Rubygems’ cache or in fBvendor/cachefR. Note that if a appropriate platform-specific gem exists on fBrubygems.orgfR it will not be found. .TP fB--printfR Prints the lockfile to STDOUT instead of writing to the file system. .TP fB--lockfile=<path>fR The path where the lockfile should be written to. .TP fB--full-indexfR Fall back to using the single-file index of all gems. .TP fB--add-platformfR Add a new platform to the lockfile, re-resolving for the addition of that platform. .TP fB--remove-platformfR Remove a platform from the lockfile. .TP fB--patchfR If updating, prefer updating only to next patch version. .TP fB--minorfR If updating, prefer updating only to next minor version. .TP fB--majorfR If updating, prefer updating to next major version (default). .TP fB--strictfR If updating, do not allow any gem to be updated past latest --patch | --minor | --major. .TP fB--conservativefR If updating, use bundle install conservative update behavior and do not allow shared dependencies to be updated. .SH “UPDATING ALL GEMS” If you run fBbundle lockfR with fB--updatefR option without list of gems, bundler will ignore any previously installed gems and resolve all dependencies again based on the latest versions of all gems available in the sources. .SH “UPDATING A LIST OF GEMS” Sometimes, you want to update a single gem in the Gemfile(5), and leave the rest of the gems that you specified locked to the versions in the fBGemfile.lockfR. .P For instance, you only want to update fBnokogirifR, run fBbundle lock --update nokogirifR. .P Bundler will update fBnokogirifR and any of its dependencies, but leave the rest of the gems that you specified locked to the versions in the fBGemfile.lockfR. .SH “SUPPORTING OTHER PLATFORMS” If you want your bundle to support platforms other than the one you’re running locally, you can run fBbundle lock --add-platform PLATFORMfR to add PLATFORM to the lockfile, force bundler to re-resolve and consider the new platform when picking gems, all without needing to have a machine that matches PLATFORM handy to install those platform-specific gems on. .P For a full explanation of gem platforms, see fBgem help platformfR. .SH “PATCH LEVEL OPTIONS” See bundle update(1) fIbundle-update.1.htmlfR for details.