bundler 4.0.10 → 4.0.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +56 -0
- data/lib/bundler/build_metadata.rb +1 -1
- data/lib/bundler/cli/add.rb +3 -0
- data/lib/bundler/cli/common.rb +6 -0
- data/lib/bundler/cli/config.rb +8 -3
- data/lib/bundler/cli/gem.rb +1 -1
- data/lib/bundler/cli/install.rb +3 -0
- data/lib/bundler/cli/outdated.rb +42 -2
- data/lib/bundler/cli/update.rb +2 -0
- data/lib/bundler/cli.rb +16 -12
- data/lib/bundler/compact_index_client/parser.rb +4 -1
- data/lib/bundler/definition.rb +28 -4
- data/lib/bundler/dsl.rb +6 -2
- data/lib/bundler/endpoint_specification.rb +11 -1
- data/lib/bundler/installer/parallel_installer.rb +11 -19
- data/lib/bundler/installer.rb +5 -0
- data/lib/bundler/lockfile_generator.rb +16 -1
- data/lib/bundler/lockfile_parser.rb +23 -1
- data/lib/bundler/man/bundle-add.1 +5 -2
- data/lib/bundler/man/bundle-add.1.ronn +6 -1
- data/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/lib/bundler/man/bundle-cache.1 +1 -1
- data/lib/bundler/man/bundle-check.1 +1 -1
- data/lib/bundler/man/bundle-clean.1 +1 -1
- data/lib/bundler/man/bundle-config.1 +121 -157
- data/lib/bundler/man/bundle-config.1.ronn +31 -1
- data/lib/bundler/man/bundle-console.1 +1 -1
- data/lib/bundler/man/bundle-doctor.1 +1 -1
- data/lib/bundler/man/bundle-env.1 +1 -1
- data/lib/bundler/man/bundle-exec.1 +1 -1
- data/lib/bundler/man/bundle-fund.1 +1 -1
- data/lib/bundler/man/bundle-gem.1 +1 -1
- data/lib/bundler/man/bundle-help.1 +1 -1
- data/lib/bundler/man/bundle-info.1 +1 -1
- data/lib/bundler/man/bundle-init.1 +1 -1
- data/lib/bundler/man/bundle-install.1 +5 -2
- data/lib/bundler/man/bundle-install.1.ronn +9 -1
- data/lib/bundler/man/bundle-issue.1 +1 -1
- data/lib/bundler/man/bundle-licenses.1 +1 -1
- data/lib/bundler/man/bundle-list.1 +1 -1
- data/lib/bundler/man/bundle-lock.1 +1 -1
- data/lib/bundler/man/bundle-open.1 +1 -1
- data/lib/bundler/man/bundle-outdated.1 +17 -14
- data/lib/bundler/man/bundle-outdated.1.ronn +19 -12
- data/lib/bundler/man/bundle-platform.1 +1 -1
- data/lib/bundler/man/bundle-plugin.1 +1 -1
- data/lib/bundler/man/bundle-pristine.1 +1 -1
- data/lib/bundler/man/bundle-remove.1 +1 -1
- data/lib/bundler/man/bundle-show.1 +1 -1
- data/lib/bundler/man/bundle-update.1 +5 -2
- data/lib/bundler/man/bundle-update.1.ronn +8 -0
- data/lib/bundler/man/bundle-version.1 +1 -1
- data/lib/bundler/man/bundle.1 +1 -1
- data/lib/bundler/man/gemfile.5 +1 -1
- data/lib/bundler/remote_specification.rb +1 -1
- data/lib/bundler/resolver.rb +58 -1
- data/lib/bundler/rubygems_ext.rb +22 -0
- data/lib/bundler/rubygems_gem_installer.rb +1 -1
- data/lib/bundler/settings.rb +1 -0
- data/lib/bundler/source/git/git_proxy.rb +7 -2
- data/lib/bundler/source/metadata.rb +4 -0
- data/lib/bundler/source/path.rb +3 -2
- data/lib/bundler/source/rubygems/remote.rb +12 -2
- data/lib/bundler/source/rubygems.rb +53 -5
- data/lib/bundler/source_list.rb +10 -2
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +7 -1
- data/lib/bundler/version.rb +1 -1
- data/lib/bundler.rb +10 -0
- metadata +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-CACHE" "1" "
|
|
3
|
+
.TH "BUNDLE\-CACHE" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-cache\fR \- Package your needed \fB\.gem\fR files into your application
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-CHECK" "1" "
|
|
3
|
+
.TH "BUNDLE\-CHECK" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-check\fR \- Verifies if dependencies are satisfied by installed gems
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-CLEAN" "1" "
|
|
3
|
+
.TH "BUNDLE\-CLEAN" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-clean\fR \- Cleans up unused gems in your bundler directory
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-CONFIG" "1" "
|
|
3
|
+
.TH "BUNDLE\-CONFIG" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-config\fR \- Set bundler configuration options
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -69,162 +69,126 @@ The canonical form of this configuration is \fB"without"\fR\. To convert the can
|
|
|
69
69
|
Any periods in the configuration keys must be replaced with two underscores when setting it via environment variables\. The configuration key \fBlocal\.rack\fR becomes the environment variable \fBBUNDLE_LOCAL__RACK\fR\.
|
|
70
70
|
.SH "LIST OF AVAILABLE KEYS"
|
|
71
71
|
The following is a list of all configuration keys and their purpose\. You can learn more about their operation in bundle install(1) \fIbundle\-install\.1\.html\fR\.
|
|
72
|
-
.
|
|
73
|
-
\fBapi_request_size\fR (\fBBUNDLE_API_REQUEST_SIZE\fR)
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
\
|
|
77
|
-
|
|
78
|
-
.
|
|
79
|
-
\
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
\
|
|
83
|
-
|
|
84
|
-
.
|
|
85
|
-
\
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
\
|
|
89
|
-
|
|
90
|
-
.
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
.
|
|
97
|
-
\
|
|
98
|
-
|
|
99
|
-
.
|
|
100
|
-
\
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
\
|
|
104
|
-
|
|
105
|
-
.
|
|
106
|
-
\
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
\
|
|
110
|
-
|
|
111
|
-
.
|
|
112
|
-
\
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
\
|
|
116
|
-
Stop Bundler from accessing gems installed to RubyGems' normal location\.
|
|
117
|
-
.
|
|
118
|
-
\fBdisable_version_check\fR (\fBBUNDLE_DISABLE_VERSION_CHECK\fR)
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
\
|
|
122
|
-
|
|
123
|
-
.
|
|
124
|
-
\
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
\
|
|
128
|
-
|
|
129
|
-
.
|
|
130
|
-
\
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
\
|
|
134
|
-
|
|
135
|
-
.
|
|
136
|
-
\
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
\
|
|
140
|
-
|
|
141
|
-
.
|
|
142
|
-
\
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
\
|
|
146
|
-
|
|
147
|
-
.
|
|
148
|
-
\
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
\
|
|
152
|
-
|
|
153
|
-
.
|
|
154
|
-
\
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
\
|
|
158
|
-
|
|
159
|
-
.
|
|
160
|
-
\
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
\
|
|
164
|
-
|
|
165
|
-
.
|
|
166
|
-
\
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
\
|
|
170
|
-
|
|
171
|
-
.
|
|
172
|
-
\
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
\
|
|
176
|
-
|
|
177
|
-
.
|
|
178
|
-
\
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
\
|
|
182
|
-
|
|
183
|
-
.
|
|
184
|
-
\
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
\
|
|
188
|
-
|
|
189
|
-
.
|
|
190
|
-
\
|
|
191
|
-
|
|
192
|
-
.TP
|
|
193
|
-
\fBsimulate_version\fR (\fBBUNDLE_SIMULATE_VERSION\fR)
|
|
194
|
-
The virtual version Bundler should use for activating feature flags\. Can be used to simulate all the new functionality that will be enabled in a future major version\.
|
|
195
|
-
.TP
|
|
196
|
-
\fBssl_ca_cert\fR (\fBBUNDLE_SSL_CA_CERT\fR)
|
|
197
|
-
Path to a designated CA certificate file or folder containing multiple certificates for trusted CAs in PEM format\.
|
|
198
|
-
.TP
|
|
199
|
-
\fBssl_client_cert\fR (\fBBUNDLE_SSL_CLIENT_CERT\fR)
|
|
200
|
-
Path to a designated file containing a X\.509 client certificate and key in PEM format\.
|
|
201
|
-
.TP
|
|
202
|
-
\fBssl_verify_mode\fR (\fBBUNDLE_SSL_VERIFY_MODE\fR)
|
|
203
|
-
The SSL verification mode Bundler uses when making HTTPS requests\. Defaults to verify peer\.
|
|
204
|
-
.TP
|
|
205
|
-
\fBsystem_bindir\fR (\fBBUNDLE_SYSTEM_BINDIR\fR)
|
|
206
|
-
The location where RubyGems installs binstubs\. Defaults to \fBGem\.bindir\fR\.
|
|
207
|
-
.TP
|
|
208
|
-
\fBtimeout\fR (\fBBUNDLE_TIMEOUT\fR)
|
|
209
|
-
The seconds allowed before timing out for network requests\. Defaults to \fB10\fR\.
|
|
210
|
-
.TP
|
|
211
|
-
\fBupdate_requires_all_flag\fR (\fBBUNDLE_UPDATE_REQUIRES_ALL_FLAG\fR)
|
|
212
|
-
Require passing \fB\-\-all\fR to \fBbundle update\fR when everything should be updated, and disallow passing no options to \fBbundle update\fR\.
|
|
213
|
-
.TP
|
|
214
|
-
\fBuser_agent\fR (\fBBUNDLE_USER_AGENT\fR)
|
|
215
|
-
The custom user agent fragment Bundler includes in API requests\.
|
|
216
|
-
.TP
|
|
217
|
-
\fBverbose\fR (\fBBUNDLE_VERBOSE\fR)
|
|
218
|
-
Whether Bundler should print verbose output\. Defaults to \fBfalse\fR, unless the \fB\-\-verbose\fR CLI flag is used\.
|
|
219
|
-
.TP
|
|
220
|
-
\fBversion\fR (\fBBUNDLE_VERSION\fR)
|
|
221
|
-
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\.
|
|
222
|
-
.TP
|
|
223
|
-
\fBwith\fR (\fBBUNDLE_WITH\fR)
|
|
224
|
-
A space\-separated or \fB:\fR\-separated list of groups whose gems bundler should install\.
|
|
225
|
-
.TP
|
|
226
|
-
\fBwithout\fR (\fBBUNDLE_WITHOUT\fR)
|
|
227
|
-
A space\-separated or \fB:\fR\-separated list of groups whose gems bundler should not install\.
|
|
72
|
+
.IP "\(bu" 4
|
|
73
|
+
\fBapi_request_size\fR (\fBBUNDLE_API_REQUEST_SIZE\fR): Configure how many dependencies to fetch when resolving the specifications\. This configuration is only used when fetchig specifications from RubyGems servers that didn't implement the Compact Index API\. Defaults to 100\.
|
|
74
|
+
.IP "\(bu" 4
|
|
75
|
+
\fBauto_install\fR (\fBBUNDLE_AUTO_INSTALL\fR): Automatically run \fBbundle install\fR when gems are missing\.
|
|
76
|
+
.IP "\(bu" 4
|
|
77
|
+
\fBbin\fR (\fBBUNDLE_BIN\fR): If configured, \fBbundle binstubs\fR will install executables from gems in the bundle to the specified directory\. Otherwise it will create them in a \fBbin\fR directory relative to the Gemfile directory\. These executables run in Bundler's context\. If used, you might add this directory to your environment's \fBPATH\fR variable\. For instance, if the \fBrails\fR gem comes with a \fBrails\fR executable, \fBbundle binstubs\fR will create a \fBbin/rails\fR executable that ensures that all referred dependencies will be resolved using the bundled gems\.
|
|
78
|
+
.IP "\(bu" 4
|
|
79
|
+
\fBcache_all\fR (\fBBUNDLE_CACHE_ALL\fR): Cache all gems, including path and git gems\. This needs to be explicitly before bundler 4, but will be the default on bundler 4\.
|
|
80
|
+
.IP "\(bu" 4
|
|
81
|
+
\fBcache_all_platforms\fR (\fBBUNDLE_CACHE_ALL_PLATFORMS\fR): Cache gems for all platforms\.
|
|
82
|
+
.IP "\(bu" 4
|
|
83
|
+
\fBcache_path\fR (\fBBUNDLE_CACHE_PATH\fR): The directory that bundler will place cached gems in when running \fBbundle package\fR, and that bundler will look in when installing gems\. Defaults to \fBvendor/cache\fR\.
|
|
84
|
+
.IP "\(bu" 4
|
|
85
|
+
\fBclean\fR (\fBBUNDLE_CLEAN\fR): Whether Bundler should run \fBbundle clean\fR automatically after \fBbundle install\fR\. Defaults to \fBtrue\fR in Bundler 4, as long as \fBpath\fR is not explicitly configured\.
|
|
86
|
+
.IP "\(bu" 4
|
|
87
|
+
\fBconsole\fR (\fBBUNDLE_CONSOLE\fR): The console that \fBbundle console\fR starts\. Defaults to \fBirb\fR\.
|
|
88
|
+
.IP "\(bu" 4
|
|
89
|
+
\fBcooldown\fR (\fBBUNDLE_COOLDOWN\fR): Number of days a published gem version must age before bundler will resolve to it\. Defaults to unset (no cooldown)\. Pass \fB0\fR to disable cooldown for an individual run\.
|
|
90
|
+
.IP
|
|
91
|
+
The effective cooldown for any given gem is resolved from three layers, highest precedence first:
|
|
92
|
+
.IP "1." 4
|
|
93
|
+
CLI flag \fB\-\-cooldown N\fR on \fBinstall\fR, \fBupdate\fR, \fBadd\fR, and \fBoutdated\fR\.
|
|
94
|
+
.IP "2." 4
|
|
95
|
+
This setting (\fBbundle config set cooldown N\fR or \fBBUNDLE_COOLDOWN=N\fR)\.
|
|
96
|
+
.IP "3." 4
|
|
97
|
+
The per\-source \fBcooldown:\fR keyword in the Gemfile, such as \fBsource "https://rubygems\.org", cooldown: 7\fR\.
|
|
98
|
+
.IP "" 0
|
|
99
|
+
.IP
|
|
100
|
+
The CLI flag and this setting apply uniformly to every source, including ones declared with their own \fBcooldown:\fR value\. To keep a private registry permanently exempt while still cooling down public gems, declare \fBsource "https://internal", cooldown: 0\fR in the Gemfile; remember that \fB\-\-cooldown N\fR on the command line will still override it for that single run\.
|
|
101
|
+
.IP
|
|
102
|
+
Cooldown filtering depends on the gem server providing a per\-version \fBcreated_at\fR timestamp in the v2 compact\-index format\. Versions without that metadata \- older gem servers, historical entries that predate the v2 cutover on \fBrubygems\.org\fR, or private registries that still emit the v1 format \- are treated as outside the cooldown window and remain resolvable\. If you rely on cooldown for supply\-chain protection, confirm that the gem server emits \fBcreated_at\fR in its \fB/info/<gem>\fR responses\.
|
|
103
|
+
.IP "\(bu" 4
|
|
104
|
+
\fBdefault_cli_command\fR (\fBBUNDLE_DEFAULT_CLI_COMMAND\fR): The command that running \fBbundle\fR without arguments should run\. Defaults to \fBcli_help\fR since Bundler 4, but can also be \fBinstall\fR which was the previous default\.
|
|
105
|
+
.IP "\(bu" 4
|
|
106
|
+
\fBdeployment\fR (\fBBUNDLE_DEPLOYMENT\fR): Equivalent to setting \fBfrozen\fR to \fBtrue\fR and \fBpath\fR to \fBvendor/bundle\fR\.
|
|
107
|
+
.IP "\(bu" 4
|
|
108
|
+
\fBdisable_checksum_validation\fR (\fBBUNDLE_DISABLE_CHECKSUM_VALIDATION\fR): Allow installing gems even if they do not match the checksum provided by RubyGems\.
|
|
109
|
+
.IP "\(bu" 4
|
|
110
|
+
\fBdisable_exec_load\fR (\fBBUNDLE_DISABLE_EXEC_LOAD\fR): Stop Bundler from using \fBload\fR to launch an executable in\-process in \fBbundle exec\fR\.
|
|
111
|
+
.IP "\(bu" 4
|
|
112
|
+
\fBdisable_local_branch_check\fR (\fBBUNDLE_DISABLE_LOCAL_BRANCH_CHECK\fR): Allow Bundler to use a local git override without a branch specified in the Gemfile\.
|
|
113
|
+
.IP "\(bu" 4
|
|
114
|
+
\fBdisable_local_revision_check\fR (\fBBUNDLE_DISABLE_LOCAL_REVISION_CHECK\fR): Allow Bundler to use a local git override without checking if the revision present in the lockfile is present in the repository\.
|
|
115
|
+
.IP "\(bu" 4
|
|
116
|
+
\fBdisable_shared_gems\fR (\fBBUNDLE_DISABLE_SHARED_GEMS\fR): Stop Bundler from accessing gems installed to RubyGems' normal location\.
|
|
117
|
+
.IP "\(bu" 4
|
|
118
|
+
\fBdisable_version_check\fR (\fBBUNDLE_DISABLE_VERSION_CHECK\fR): Stop Bundler from checking if a newer Bundler version is available on rubygems\.org\.
|
|
119
|
+
.IP "\(bu" 4
|
|
120
|
+
\fBforce_ruby_platform\fR (\fBBUNDLE_FORCE_RUBY_PLATFORM\fR): Ignore the current machine's platform and install only \fBruby\fR platform gems\. As a result, gems with native extensions will be compiled from source\.
|
|
121
|
+
.IP "\(bu" 4
|
|
122
|
+
\fBfrozen\fR (\fBBUNDLE_FROZEN\fR): Disallow any automatic changes to \fBGemfile\.lock\fR\. Bundler commands will be blocked unless the lockfile can be installed exactly as written\. Usually this will happen when changing the \fBGemfile\fR manually and forgetting to update the lockfile through \fBbundle lock\fR or \fBbundle install\fR\.
|
|
123
|
+
.IP "\(bu" 4
|
|
124
|
+
\fBgem\.github_username\fR (\fBBUNDLE_GEM__GITHUB_USERNAME\fR): Sets a GitHub username or organization to be used in the \fBREADME\fR and \fB\.gemspec\fR files when you create a new gem via \fBbundle gem\fR command\. It can be overridden by passing an explicit \fB\-\-github\-username\fR flag to \fBbundle gem\fR\.
|
|
125
|
+
.IP "\(bu" 4
|
|
126
|
+
\fBgem\.push_key\fR (\fBBUNDLE_GEM__PUSH_KEY\fR): Sets the \fB\-\-key\fR parameter for \fBgem push\fR when using the \fBrake release\fR command with a private gemstash server\.
|
|
127
|
+
.IP "\(bu" 4
|
|
128
|
+
\fBgemfile\fR (\fBBUNDLE_GEMFILE\fR): The name of the file that bundler should use as the \fBGemfile\fR\. This location of this file also sets the root of the project, which is used to resolve relative paths in the \fBGemfile\fR, among other things\. By default, bundler will search up from the current working directory until it finds a \fBGemfile\fR\.
|
|
129
|
+
.IP "\(bu" 4
|
|
130
|
+
\fBglobal_gem_cache\fR (\fBBUNDLE_GLOBAL_GEM_CACHE\fR): Whether Bundler should cache all gems and compiled extensions globally, rather than locally to the configured installation path\.
|
|
131
|
+
.IP "\(bu" 4
|
|
132
|
+
\fBignore_funding_requests\fR (\fBBUNDLE_IGNORE_FUNDING_REQUESTS\fR): When set, no funding requests will be printed\.
|
|
133
|
+
.IP "\(bu" 4
|
|
134
|
+
\fBignore_messages\fR (\fBBUNDLE_IGNORE_MESSAGES\fR): When set, no post install messages will be printed\. To silence a single gem, use dot notation like \fBignore_messages\.httparty true\fR\.
|
|
135
|
+
.IP "\(bu" 4
|
|
136
|
+
\fBinit_gems_rb\fR (\fBBUNDLE_INIT_GEMS_RB\fR): Generate a \fBgems\.rb\fR instead of a \fBGemfile\fR when running \fBbundle init\fR\.
|
|
137
|
+
.IP "\(bu" 4
|
|
138
|
+
\fBjobs\fR (\fBBUNDLE_JOBS\fR): The number of gems Bundler can download and install in parallel\. Defaults to the number of available processors\.
|
|
139
|
+
.IP "\(bu" 4
|
|
140
|
+
\fBlockfile\fR (\fBBUNDLE_LOCKFILE\fR): The path to the lockfile that bundler should use\. By default, Bundler adds \fB\.lock\fR to the end of the \fBgemfile\fR entry\. Can be set to \fBfalse\fR in the Gemfile to disable lockfile creation entirely (see gemfile(5))\.
|
|
141
|
+
.IP "\(bu" 4
|
|
142
|
+
\fBlockfile_checksums\fR (\fBBUNDLE_LOCKFILE_CHECKSUMS\fR): Whether Bundler should include a checksums section in new lockfiles, to protect from compromised gem sources\. Defaults to true\.
|
|
143
|
+
.IP "\(bu" 4
|
|
144
|
+
\fBno_install\fR (\fBBUNDLE_NO_INSTALL\fR): Whether \fBbundle package\fR should skip installing gems\.
|
|
145
|
+
.IP "\(bu" 4
|
|
146
|
+
\fBno_prune\fR (\fBBUNDLE_NO_PRUNE\fR): Whether Bundler should leave outdated gems unpruned when caching\.
|
|
147
|
+
.IP "\(bu" 4
|
|
148
|
+
\fBonly\fR (\fBBUNDLE_ONLY\fR): 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, because they get put inside \fBdefault\fR group\. For example \fBonly test:default\fR will install all gems specified in test group and without one\.
|
|
149
|
+
.IP "\(bu" 4
|
|
150
|
+
\fBpath\fR (\fBBUNDLE_PATH\fR): The location on disk where all gems in your bundle will be located regardless of \fB$GEM_HOME\fR or \fB$GEM_PATH\fR values\. Bundle gems not found in this location will be installed by \fBbundle install\fR\. When not set, Bundler install by default to a \fB\.bundle\fR directory relative to repository root in Bundler 4, and to the default system path (\fBGem\.dir\fR) before Bundler 4\. That means that before Bundler 4, Bundler shares this location with Rubygems, and \fBgem install \|\.\|\.\|\.\fR will have gems installed in the same location and therefore, gems installed without \fBpath\fR set will show up by calling \fBgem list\fR\. This will not be the case in Bundler 4\.
|
|
151
|
+
.IP "\(bu" 4
|
|
152
|
+
\fBpath\.system\fR (\fBBUNDLE_PATH__SYSTEM\fR): Whether Bundler will install gems into the default system path (\fBGem\.dir\fR)\.
|
|
153
|
+
.IP "\(bu" 4
|
|
154
|
+
\fBplugins\fR (\fBBUNDLE_PLUGINS\fR): Enable Bundler's experimental plugin system\.
|
|
155
|
+
.IP "\(bu" 4
|
|
156
|
+
\fBprefer_patch\fR (\fBBUNDLE_PREFER_PATCH\fR): Prefer updating only to next patch version during updates\. Makes \fBbundle update\fR calls equivalent to \fBbundler update \-\-patch\fR\.
|
|
157
|
+
.IP "\(bu" 4
|
|
158
|
+
\fBredirect\fR (\fBBUNDLE_REDIRECT\fR): The number of redirects allowed for network requests\. Defaults to \fB5\fR\.
|
|
159
|
+
.IP "\(bu" 4
|
|
160
|
+
\fBretry\fR (\fBBUNDLE_RETRY\fR): The number of times to retry failed network requests\. Defaults to \fB3\fR\.
|
|
161
|
+
.IP "\(bu" 4
|
|
162
|
+
\fBshebang\fR (\fBBUNDLE_SHEBANG\fR): The program name that should be invoked for generated binstubs\. Defaults to the ruby install name used to generate the binstub\.
|
|
163
|
+
.IP "\(bu" 4
|
|
164
|
+
\fBsilence_deprecations\fR (\fBBUNDLE_SILENCE_DEPRECATIONS\fR): Whether Bundler should silence deprecation warnings for behavior that will be changed in the next major version\.
|
|
165
|
+
.IP "\(bu" 4
|
|
166
|
+
\fBsilence_root_warning\fR (\fBBUNDLE_SILENCE_ROOT_WARNING\fR): Silence the warning Bundler prints when installing gems as root\.
|
|
167
|
+
.IP "\(bu" 4
|
|
168
|
+
\fBsimulate_version\fR (\fBBUNDLE_SIMULATE_VERSION\fR): The virtual version Bundler should use for activating feature flags\. Can be used to simulate all the new functionality that will be enabled in a future major version\.
|
|
169
|
+
.IP "\(bu" 4
|
|
170
|
+
\fBssl_ca_cert\fR (\fBBUNDLE_SSL_CA_CERT\fR): Path to a designated CA certificate file or folder containing multiple certificates for trusted CAs in PEM format\.
|
|
171
|
+
.IP "\(bu" 4
|
|
172
|
+
\fBssl_client_cert\fR (\fBBUNDLE_SSL_CLIENT_CERT\fR): Path to a designated file containing a X\.509 client certificate and key in PEM format\.
|
|
173
|
+
.IP "\(bu" 4
|
|
174
|
+
\fBssl_verify_mode\fR (\fBBUNDLE_SSL_VERIFY_MODE\fR): The SSL verification mode Bundler uses when making HTTPS requests\. Defaults to verify peer\.
|
|
175
|
+
.IP "\(bu" 4
|
|
176
|
+
\fBsystem_bindir\fR (\fBBUNDLE_SYSTEM_BINDIR\fR): The location where RubyGems installs binstubs\. Defaults to \fBGem\.bindir\fR\.
|
|
177
|
+
.IP "\(bu" 4
|
|
178
|
+
\fBtimeout\fR (\fBBUNDLE_TIMEOUT\fR): The seconds allowed before timing out for network requests\. Defaults to \fB10\fR\.
|
|
179
|
+
.IP "\(bu" 4
|
|
180
|
+
\fBupdate_requires_all_flag\fR (\fBBUNDLE_UPDATE_REQUIRES_ALL_FLAG\fR): Require passing \fB\-\-all\fR to \fBbundle update\fR when everything should be updated, and disallow passing no options to \fBbundle update\fR\.
|
|
181
|
+
.IP "\(bu" 4
|
|
182
|
+
\fBuser_agent\fR (\fBBUNDLE_USER_AGENT\fR): The custom user agent fragment Bundler includes in API requests\.
|
|
183
|
+
.IP "\(bu" 4
|
|
184
|
+
\fBverbose\fR (\fBBUNDLE_VERBOSE\fR): Whether Bundler should print verbose output\. Defaults to \fBfalse\fR, unless the \fB\-\-verbose\fR CLI flag is used\.
|
|
185
|
+
.IP "\(bu" 4
|
|
186
|
+
\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\.
|
|
187
|
+
.IP "\(bu" 4
|
|
188
|
+
\fBwith\fR (\fBBUNDLE_WITH\fR): A space\-separated or \fB:\fR\-separated list of groups whose gems bundler should install\.
|
|
189
|
+
.IP "\(bu" 4
|
|
190
|
+
\fBwithout\fR (\fBBUNDLE_WITHOUT\fR): A space\-separated or \fB:\fR\-separated list of groups whose gems bundler should not install\.
|
|
191
|
+
.IP "" 0
|
|
228
192
|
.SH "BUILD OPTIONS"
|
|
229
193
|
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\.
|
|
230
194
|
.P
|
|
@@ -137,6 +137,36 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
|
137
137
|
explicitly configured.
|
|
138
138
|
* `console` (`BUNDLE_CONSOLE`):
|
|
139
139
|
The console that `bundle console` starts. Defaults to `irb`.
|
|
140
|
+
* `cooldown` (`BUNDLE_COOLDOWN`):
|
|
141
|
+
Number of days a published gem version must age before bundler will
|
|
142
|
+
resolve to it. Defaults to unset (no cooldown). Pass `0` to disable
|
|
143
|
+
cooldown for an individual run.
|
|
144
|
+
|
|
145
|
+
The effective cooldown for any given gem is resolved from three
|
|
146
|
+
layers, highest precedence first:
|
|
147
|
+
|
|
148
|
+
1. CLI flag `--cooldown N` on `install`, `update`, `add`, and
|
|
149
|
+
`outdated`.
|
|
150
|
+
2. This setting (`bundle config set cooldown N` or
|
|
151
|
+
`BUNDLE_COOLDOWN=N`).
|
|
152
|
+
3. The per-source `cooldown:` keyword in the Gemfile, such as
|
|
153
|
+
`source "https://rubygems.org", cooldown: 7`.
|
|
154
|
+
|
|
155
|
+
The CLI flag and this setting apply uniformly to every source,
|
|
156
|
+
including ones declared with their own `cooldown:` value. To keep a
|
|
157
|
+
private registry permanently exempt while still cooling down public
|
|
158
|
+
gems, declare `source "https://internal", cooldown: 0` in the
|
|
159
|
+
Gemfile; remember that `--cooldown N` on the command line will
|
|
160
|
+
still override it for that single run.
|
|
161
|
+
|
|
162
|
+
Cooldown filtering depends on the gem server providing a per-version
|
|
163
|
+
`created_at` timestamp in the v2 compact-index format. Versions
|
|
164
|
+
without that metadata - older gem servers, historical entries that
|
|
165
|
+
predate the v2 cutover on `rubygems.org`, or private registries that
|
|
166
|
+
still emit the v1 format - are treated as outside the cooldown
|
|
167
|
+
window and remain resolvable. If you rely on cooldown for
|
|
168
|
+
supply-chain protection, confirm that the gem server emits
|
|
169
|
+
`created_at` in its `/info/<gem>` responses.
|
|
140
170
|
* `default_cli_command` (`BUNDLE_DEFAULT_CLI_COMMAND`):
|
|
141
171
|
The command that running `bundle` without arguments should run. Defaults to
|
|
142
172
|
`cli_help` since Bundler 4, but can also be `install` which was the previous
|
|
@@ -223,7 +253,7 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
|
223
253
|
Whether Bundler will install gems into the default system path (`Gem.dir`).
|
|
224
254
|
* `plugins` (`BUNDLE_PLUGINS`):
|
|
225
255
|
Enable Bundler's experimental plugin system.
|
|
226
|
-
* `prefer_patch` (BUNDLE_PREFER_PATCH):
|
|
256
|
+
* `prefer_patch` (`BUNDLE_PREFER_PATCH`):
|
|
227
257
|
Prefer updating only to next patch version during updates. Makes `bundle update` calls equivalent to `bundler update --patch`.
|
|
228
258
|
* `redirect` (`BUNDLE_REDIRECT`):
|
|
229
259
|
The number of redirects allowed for network requests. Defaults to `5`.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-CONSOLE" "1" "
|
|
3
|
+
.TH "BUNDLE\-CONSOLE" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-console\fR \- Open an IRB session with the bundle pre\-loaded
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-ENV" "1" "
|
|
3
|
+
.TH "BUNDLE\-ENV" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-env\fR \- Print information about the environment Bundler is running under
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-EXEC" "1" "
|
|
3
|
+
.TH "BUNDLE\-EXEC" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-FUND" "1" "
|
|
3
|
+
.TH "BUNDLE\-FUND" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-fund\fR \- Lists information about gems seeking funding assistance
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-GEM" "1" "
|
|
3
|
+
.TH "BUNDLE\-GEM" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-INFO" "1" "
|
|
3
|
+
.TH "BUNDLE\-INFO" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-info\fR \- Show information for the given gem in your bundle
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-INIT" "1" "
|
|
3
|
+
.TH "BUNDLE\-INIT" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-init\fR \- Generates a Gemfile into the current working directory
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-INSTALL" "1" "
|
|
3
|
+
.TH "BUNDLE\-INSTALL" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|
|
6
6
|
.SH "SYNOPSIS"
|
|
7
|
-
\fBbundle install\fR [\-\-force] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-local] [\-\-lockfile=LOCKFILE] [\-\-no\-cache] [\-\-no\-lock] [\-\-prefer\-local] [\-\-quiet] [\-\-retry=NUMBER] [\-\-standalone[=GROUP[ GROUP\|\.\|\.\|\.]]] [\-\-trust\-policy=TRUST\-POLICY] [\-\-target\-rbconfig=TARGET\-RBCONFIG]
|
|
7
|
+
\fBbundle install\fR [\-\-cooldown=NUMBER] [\-\-force] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-local] [\-\-lockfile=LOCKFILE] [\-\-no\-cache] [\-\-no\-lock] [\-\-prefer\-local] [\-\-quiet] [\-\-retry=NUMBER] [\-\-standalone[=GROUP[ GROUP\|\.\|\.\|\.]]] [\-\-trust\-policy=TRUST\-POLICY] [\-\-target\-rbconfig=TARGET\-RBCONFIG]
|
|
8
8
|
.SH "DESCRIPTION"
|
|
9
9
|
Install the gems specified in your Gemfile(5)\. If this is the first time you run bundle install (and a \fBGemfile\.lock\fR does not exist), Bundler will fetch all remote sources, resolve dependencies and install all needed gems\.
|
|
10
10
|
.P
|
|
@@ -13,6 +13,9 @@ If a \fBGemfile\.lock\fR does exist, and you have not updated your Gemfile(5), B
|
|
|
13
13
|
If a \fBGemfile\.lock\fR does exist, and you have updated your Gemfile(5), Bundler will use the dependencies in the \fBGemfile\.lock\fR for all gems that you did not update, but will re\-resolve the dependencies of gems that you did update\. You can find more information about this update process below under \fICONSERVATIVE UPDATING\fR\.
|
|
14
14
|
.SH "OPTIONS"
|
|
15
15
|
.TP
|
|
16
|
+
\fB\-\-cooldown=<number>\fR
|
|
17
|
+
Only consider gem versions published at least \fInumber\fR days ago when resolving\. Pass \fB0\fR to disable cooldown for this run, overriding any per\-source or global configuration\. See \fBcooldown\fR in bundle\-config(1) for details on the precedence between the CLI flag, Bundler config, and Gemfile per\-source settings\.
|
|
18
|
+
.TP
|
|
16
19
|
\fB\-\-force\fR, \fB\-\-redownload\fR
|
|
17
20
|
Force reinstalling every gem, even if already installed\.
|
|
18
21
|
.TP
|
|
@@ -3,7 +3,8 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
|
|
|
3
3
|
|
|
4
4
|
## SYNOPSIS
|
|
5
5
|
|
|
6
|
-
`bundle install` [--
|
|
6
|
+
`bundle install` [--cooldown=NUMBER]
|
|
7
|
+
[--force]
|
|
7
8
|
[--full-index]
|
|
8
9
|
[--gemfile=GEMFILE]
|
|
9
10
|
[--jobs=NUMBER]
|
|
@@ -37,6 +38,13 @@ update process below under [CONSERVATIVE UPDATING][].
|
|
|
37
38
|
|
|
38
39
|
## OPTIONS
|
|
39
40
|
|
|
41
|
+
* `--cooldown=<number>`:
|
|
42
|
+
Only consider gem versions published at least <number> days ago when
|
|
43
|
+
resolving. Pass `0` to disable cooldown for this run, overriding any
|
|
44
|
+
per-source or global configuration. See `cooldown` in bundle-config(1)
|
|
45
|
+
for details on the precedence between the CLI flag, Bundler config,
|
|
46
|
+
and Gemfile per-source settings.
|
|
47
|
+
|
|
40
48
|
* `--force`, `--redownload`:
|
|
41
49
|
Force reinstalling every gem, even if already installed.
|
|
42
50
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-LICENSES" "1" "
|
|
3
|
+
.TH "BUNDLE\-LICENSES" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-licenses\fR \- Print the license of all gems in the bundle
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-LOCK" "1" "
|
|
3
|
+
.TH "BUNDLE\-LOCK" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
|
|
6
6
|
.SH "SYNOPSIS"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.\" generated with Ronn-NG/v0.10.1
|
|
2
2
|
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1
|
|
3
|
-
.TH "BUNDLE\-OPEN" "1" "
|
|
3
|
+
.TH "BUNDLE\-OPEN" "1" "April 2026" ""
|
|
4
4
|
.SH "NAME"
|
|
5
5
|
\fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
|
|
6
6
|
.SH "SYNOPSIS"
|