bundler 2.2.26 → 2.3.26
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 +501 -1
- data/README.md +1 -1
- data/bundler.gemspec +6 -8
- data/exe/bundle +7 -8
- data/exe/bundler +1 -1
- data/lib/bundler/.document +1 -0
- data/lib/bundler/build_metadata.rb +3 -3
- data/lib/bundler/cli/check.rb +1 -1
- data/lib/bundler/cli/common.rb +3 -2
- data/lib/bundler/cli/config.rb +10 -1
- data/lib/bundler/cli/doctor.rb +12 -3
- data/lib/bundler/cli/gem.rb +98 -9
- data/lib/bundler/cli/info.rb +27 -6
- data/lib/bundler/cli/init.rb +5 -1
- data/lib/bundler/cli/install.rb +13 -30
- data/lib/bundler/cli/issue.rb +4 -3
- data/lib/bundler/cli/outdated.rb +12 -3
- data/lib/bundler/cli/platform.rb +2 -2
- data/lib/bundler/cli/remove.rb +1 -2
- data/lib/bundler/cli/show.rb +1 -1
- data/lib/bundler/cli/update.rb +8 -4
- data/lib/bundler/cli.rb +23 -19
- data/lib/bundler/compact_index_client/cache.rb +0 -9
- data/lib/bundler/compact_index_client/updater.rb +16 -8
- data/lib/bundler/compact_index_client.rb +2 -8
- data/lib/bundler/current_ruby.rb +16 -6
- data/lib/bundler/definition.rb +204 -217
- data/lib/bundler/dependency.rb +23 -71
- data/lib/bundler/digest.rb +71 -0
- data/lib/bundler/dsl.rb +28 -45
- data/lib/bundler/endpoint_specification.rb +19 -13
- data/lib/bundler/env.rb +1 -1
- data/lib/bundler/environment_preserver.rb +4 -1
- data/lib/bundler/errors.rb +28 -2
- data/lib/bundler/feature_flag.rb +0 -1
- data/lib/bundler/fetcher/base.rb +6 -8
- data/lib/bundler/fetcher/compact_index.rb +9 -14
- data/lib/bundler/fetcher/index.rb +0 -26
- data/lib/bundler/fetcher.rb +20 -22
- data/lib/bundler/friendly_errors.rb +26 -34
- data/lib/bundler/gem_helper.rb +7 -18
- data/lib/bundler/gem_helpers.rb +9 -2
- data/lib/bundler/gem_version_promoter.rb +14 -25
- data/lib/bundler/index.rb +10 -40
- data/lib/bundler/injector.rb +16 -2
- data/lib/bundler/inline.rb +2 -12
- data/lib/bundler/installer/gem_installer.rb +13 -5
- data/lib/bundler/installer/standalone.rb +30 -3
- data/lib/bundler/installer.rb +18 -29
- data/lib/bundler/lazy_specification.rb +52 -35
- data/lib/bundler/lockfile_generator.rb +2 -2
- data/lib/bundler/lockfile_parser.rb +12 -10
- data/lib/bundler/man/bundle-add.1 +21 -5
- data/lib/bundler/man/bundle-add.1.ronn +16 -4
- data/lib/bundler/man/bundle-binstubs.1 +1 -1
- data/lib/bundler/man/bundle-cache.1 +7 -1
- data/lib/bundler/man/bundle-cache.1.ronn +7 -0
- data/lib/bundler/man/bundle-check.1 +1 -1
- data/lib/bundler/man/bundle-clean.1 +2 -2
- data/lib/bundler/man/bundle-clean.1.ronn +1 -1
- data/lib/bundler/man/bundle-config.1 +33 -14
- data/lib/bundler/man/bundle-config.1.ronn +30 -18
- data/lib/bundler/man/bundle-console.1 +53 -0
- data/lib/bundler/man/bundle-console.1.ronn +44 -0
- data/lib/bundler/man/bundle-doctor.1 +1 -1
- data/lib/bundler/man/bundle-exec.1 +2 -2
- data/lib/bundler/man/bundle-exec.1.ronn +1 -1
- data/lib/bundler/man/bundle-gem.1 +14 -1
- data/lib/bundler/man/bundle-gem.1.ronn +16 -0
- data/lib/bundler/man/bundle-help.1 +13 -0
- data/lib/bundler/man/bundle-help.1.ronn +12 -0
- data/lib/bundler/man/bundle-info.1 +1 -1
- data/lib/bundler/man/bundle-init.1 +1 -1
- data/lib/bundler/man/bundle-inject.1 +5 -2
- data/lib/bundler/man/bundle-inject.1.ronn +3 -1
- data/lib/bundler/man/bundle-install.1 +6 -2
- data/lib/bundler/man/bundle-install.1.ronn +8 -2
- 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 +3 -10
- data/lib/bundler/man/bundle-outdated.1.ronn +1 -10
- data/lib/bundler/man/bundle-platform.1 +16 -6
- data/lib/bundler/man/bundle-platform.1.ronn +14 -7
- data/lib/bundler/man/bundle-plugin.1 +81 -0
- data/lib/bundler/man/bundle-plugin.1.ronn +59 -0
- 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 +2 -2
- data/lib/bundler/man/bundle-update.1.ronn +2 -1
- data/lib/bundler/man/bundle-version.1 +35 -0
- data/lib/bundler/man/bundle-version.1.ronn +24 -0
- data/lib/bundler/man/bundle-viz.1 +4 -1
- data/lib/bundler/man/bundle-viz.1.ronn +2 -0
- data/lib/bundler/man/bundle.1 +15 -10
- data/lib/bundler/man/bundle.1.ronn +12 -7
- data/lib/bundler/man/gemfile.5 +117 -80
- data/lib/bundler/man/gemfile.5.ronn +105 -84
- data/lib/bundler/man/index.txt +4 -0
- data/lib/bundler/match_metadata.rb +13 -0
- data/lib/bundler/match_platform.rb +0 -1
- data/lib/bundler/match_remote_metadata.rb +29 -0
- data/lib/bundler/plugin/api/source.rb +4 -9
- data/lib/bundler/plugin/installer/git.rb +0 -4
- data/lib/bundler/plugin/installer/rubygems.rb +0 -4
- data/lib/bundler/plugin/installer.rb +3 -1
- data/lib/bundler/plugin.rb +25 -6
- data/lib/bundler/process_lock.rb +1 -1
- data/lib/bundler/remote_specification.rb +10 -4
- data/lib/bundler/resolver/base.rb +50 -0
- data/lib/bundler/resolver/spec_group.rb +31 -49
- data/lib/bundler/resolver.rb +183 -192
- data/lib/bundler/ruby_dsl.rb +1 -1
- data/lib/bundler/ruby_version.rb +5 -18
- data/lib/bundler/rubygems_ext.rb +138 -20
- data/lib/bundler/rubygems_gem_installer.rb +42 -16
- data/lib/bundler/rubygems_integration.rb +42 -90
- data/lib/bundler/runtime.rb +2 -3
- data/lib/bundler/self_manager.rb +168 -0
- data/lib/bundler/settings.rb +13 -4
- data/lib/bundler/shared_helpers.rb +15 -24
- data/lib/bundler/source/git/git_proxy.rb +7 -4
- data/lib/bundler/source/git.rb +29 -13
- data/lib/bundler/source/metadata.rb +3 -3
- data/lib/bundler/source/path.rb +1 -1
- data/lib/bundler/source/rubygems.rb +148 -161
- data/lib/bundler/source/rubygems_aggregate.rb +1 -1
- data/lib/bundler/source.rb +6 -5
- data/lib/bundler/source_list.rb +15 -29
- data/lib/bundler/source_map.rb +15 -2
- data/lib/bundler/spec_set.rb +52 -32
- data/lib/bundler/stub_specification.rb +5 -3
- data/lib/bundler/templates/Executable +2 -4
- data/lib/bundler/templates/Executable.bundler +2 -2
- data/lib/bundler/templates/Executable.standalone +2 -4
- data/lib/bundler/templates/Gemfile +0 -2
- data/lib/bundler/templates/gems.rb +0 -3
- data/lib/bundler/templates/newgem/Gemfile.tt +5 -2
- data/lib/bundler/templates/newgem/README.md.tt +3 -9
- data/lib/bundler/templates/newgem/Rakefile.tt +15 -2
- data/lib/bundler/templates/newgem/github/workflows/main.yml.tt +5 -4
- data/lib/bundler/templates/newgem/gitlab-ci.yml.tt +5 -4
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +16 -16
- data/lib/bundler/templates/newgem/sig/newgem.rbs.tt +8 -0
- data/lib/bundler/templates/newgem/standard.yml.tt +3 -0
- data/lib/bundler/templates/newgem/test/minitest/{newgem_test.rb.tt → test_newgem.rb.tt} +1 -1
- data/lib/bundler/ui/shell.rb +1 -1
- data/lib/bundler/vendor/.document +1 -0
- data/lib/bundler/vendor/connection_pool/LICENSE +20 -0
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +19 -21
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/wrapper.rb +57 -0
- data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +39 -74
- data/lib/bundler/vendor/fileutils/LICENSE.txt +22 -0
- data/lib/bundler/vendor/molinillo/LICENSE +9 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +3 -3
- data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +32 -26
- data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +1 -1
- data/lib/bundler/vendor/net-http-persistent/README.rdoc +82 -0
- data/lib/bundler/vendor/thor/LICENSE.md +20 -0
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +6 -6
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +1 -2
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +6 -2
- data/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +6 -0
- data/lib/bundler/vendor/thor/lib/thor/error.rb +9 -4
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +19 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +22 -4
- data/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/vendor/tsort/LICENSE.txt +22 -0
- data/lib/bundler/vendor/tsort/lib/tsort.rb +452 -0
- data/lib/bundler/vendor/uri/LICENSE.txt +22 -0
- data/lib/bundler/vendor/uri/lib/uri/common.rb +17 -80
- data/lib/bundler/vendor/uri/lib/uri/ftp.rb +0 -1
- data/lib/bundler/vendor/uri/lib/uri/generic.rb +5 -6
- data/lib/bundler/vendor/uri/lib/uri/http.rb +0 -1
- data/lib/bundler/vendor/uri/lib/uri/https.rb +0 -1
- data/lib/bundler/vendor/uri/lib/uri/ldap.rb +1 -1
- data/lib/bundler/vendor/uri/lib/uri/mailto.rb +0 -1
- data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +1 -14
- data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +1 -12
- data/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
- data/lib/bundler/vendor/uri/lib/uri/ws.rb +84 -0
- data/lib/bundler/vendor/uri/lib/uri/wss.rb +22 -0
- data/lib/bundler/vendor/uri/lib/uri.rb +0 -1
- data/lib/bundler/vendored_tsort.rb +4 -0
- data/lib/bundler/version.rb +1 -1
- data/lib/bundler/worker.rb +2 -2
- data/lib/bundler.rb +40 -29
- metadata +37 -12
- data/lib/bundler/dep_proxy.rb +0 -55
- data/lib/bundler/gemdeps.rb +0 -29
- data/lib/bundler/psyched_yaml.rb +0 -22
- data/lib/bundler/vendor/connection_pool/lib/connection_pool/monotonic_time.rb +0 -66
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-CONFIG" "1" "
|
|
4
|
+
.TH "BUNDLE\-CONFIG" "1" "October 2022" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-config\fR \- Set bundler configuration options
|
|
8
8
|
.
|
|
9
9
|
.SH "SYNOPSIS"
|
|
10
|
-
\fBbundle config\fR
|
|
10
|
+
\fBbundle config\fR list
|
|
11
|
+
.
|
|
12
|
+
.br
|
|
13
|
+
\fBbundle config\fR [get] NAME
|
|
14
|
+
.
|
|
15
|
+
.br
|
|
16
|
+
\fBbundle config\fR [set] NAME VALUE
|
|
17
|
+
.
|
|
18
|
+
.br
|
|
19
|
+
\fBbundle config\fR unset NAME
|
|
11
20
|
.
|
|
12
21
|
.SH "DESCRIPTION"
|
|
13
22
|
This command allows you to interact with Bundler\'s configuration system\.
|
|
@@ -36,13 +45,13 @@ Executing \fBbundle config list\fR with will print a list of all bundler configu
|
|
|
36
45
|
Executing \fBbundle config get <name>\fR will print the value of that configuration setting, and where it was set\.
|
|
37
46
|
.
|
|
38
47
|
.P
|
|
39
|
-
Executing \fBbundle config set <name> <value>\fR
|
|
48
|
+
Executing \fBbundle config set <name> <value>\fR defaults to setting \fBlocal\fR configuration if executing from within a local application, otherwise it will set \fBglobal\fR configuration\. See \fB\-\-local\fR and \fB\-\-global\fR options below\.
|
|
40
49
|
.
|
|
41
50
|
.P
|
|
42
|
-
Executing \fBbundle config set \-\-
|
|
51
|
+
Executing \fBbundle config set \-\-local <name> <value>\fR will set that configuration in the directory for the local application\. The configuration will be stored in \fB<project_root>/\.bundle/config\fR\. If \fBBUNDLE_APP_CONFIG\fR is set, the configuration will be stored in \fB$BUNDLE_APP_CONFIG/config\fR\.
|
|
43
52
|
.
|
|
44
53
|
.P
|
|
45
|
-
Executing \fBbundle config set \-\-
|
|
54
|
+
Executing \fBbundle config set \-\-global <name> <value>\fR will set that configuration to the value specified for all bundles executed as the current user\. The configuration will be stored in \fB~/\.bundle/config\fR\. If \fIname\fR already is set, \fIname\fR will be overridden and user will be warned\.
|
|
46
55
|
.
|
|
47
56
|
.P
|
|
48
57
|
Executing \fBbundle config unset <name>\fR will delete the configuration in both local and global sources\.
|
|
@@ -51,7 +60,7 @@ Executing \fBbundle config unset <name>\fR will delete the configuration in both
|
|
|
51
60
|
Executing \fBbundle config unset \-\-global <name>\fR will delete the configuration only from the user configuration\.
|
|
52
61
|
.
|
|
53
62
|
.P
|
|
54
|
-
Executing \fBbundle config unset \-\-local <name
|
|
63
|
+
Executing \fBbundle config unset \-\-local <name>\fR will delete the configuration only from the local application\.
|
|
55
64
|
.
|
|
56
65
|
.P
|
|
57
66
|
Executing bundle with the \fBBUNDLE_IGNORE_CONFIG\fR environment variable set will cause it to ignore all configuration\.
|
|
@@ -74,6 +83,10 @@ Creates a directory (defaults to \fB~/bin\fR) and place any executables from the
|
|
|
74
83
|
In deployment mode, Bundler will \'roll\-out\' the bundle for \fBproduction\fR use\. Please check carefully if you want to have this option enabled in \fBdevelopment\fR or \fBtest\fR environments\.
|
|
75
84
|
.
|
|
76
85
|
.TP
|
|
86
|
+
\fBonly\fR
|
|
87
|
+
A space\-separated list of groups to install only gems of the specified groups\.
|
|
88
|
+
.
|
|
89
|
+
.TP
|
|
77
90
|
\fBpath\fR
|
|
78
91
|
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\.
|
|
79
92
|
.
|
|
@@ -83,7 +96,7 @@ A space\-separated list of groups referencing gems to skip during installation\.
|
|
|
83
96
|
.
|
|
84
97
|
.TP
|
|
85
98
|
\fBwith\fR
|
|
86
|
-
A space\-separated list of groups referencing gems to include during installation\.
|
|
99
|
+
A space\-separated list of \fBoptional\fR groups referencing gems to include during installation\.
|
|
87
100
|
.
|
|
88
101
|
.SH "BUILD OPTIONS"
|
|
89
102
|
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\.
|
|
@@ -205,13 +218,16 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
|
205
218
|
\fBglobal_gem_cache\fR (\fBBUNDLE_GLOBAL_GEM_CACHE\fR): Whether Bundler should cache all gems globally, rather than locally to the installing Ruby installation\.
|
|
206
219
|
.
|
|
207
220
|
.IP "\(bu" 4
|
|
221
|
+
\fBignore_funding_requests\fR (\fBBUNDLE_IGNORE_FUNDING_REQUESTS\fR): When set, no funding requests will be printed\.
|
|
222
|
+
.
|
|
223
|
+
.IP "\(bu" 4
|
|
208
224
|
\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\.
|
|
209
225
|
.
|
|
210
226
|
.IP "\(bu" 4
|
|
211
227
|
\fBinit_gems_rb\fR (\fBBUNDLE_INIT_GEMS_RB\fR): Generate a \fBgems\.rb\fR instead of a \fBGemfile\fR when running \fBbundle init\fR\.
|
|
212
228
|
.
|
|
213
229
|
.IP "\(bu" 4
|
|
214
|
-
\fBjobs\fR (\fBBUNDLE_JOBS\fR): The number of gems Bundler can install in parallel\. Defaults to
|
|
230
|
+
\fBjobs\fR (\fBBUNDLE_JOBS\fR): The number of gems Bundler can install in parallel\. Defaults to the number of available processors\.
|
|
215
231
|
.
|
|
216
232
|
.IP "\(bu" 4
|
|
217
233
|
\fBno_install\fR (\fBBUNDLE_NO_INSTALL\fR): Whether \fBbundle package\fR should skip installing gems\.
|
|
@@ -220,6 +236,9 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
|
220
236
|
\fBno_prune\fR (\fBBUNDLE_NO_PRUNE\fR): Whether Bundler should leave outdated gems unpruned when caching\.
|
|
221
237
|
.
|
|
222
238
|
.IP "\(bu" 4
|
|
239
|
+
\fBonly\fR (\fBBUNDLE_ONLY\fR): A space\-separated list of groups to install only gems of the specified groups\.
|
|
240
|
+
.
|
|
241
|
+
.IP "\(bu" 4
|
|
223
242
|
\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\. Defaults to \fBGem\.dir\fR\. When \-\-deployment is used, defaults to vendor/bundle\.
|
|
224
243
|
.
|
|
225
244
|
.IP "\(bu" 4
|
|
@@ -288,7 +307,7 @@ The following is a list of all configuration keys and their purpose\. You can le
|
|
|
288
307
|
.IP "" 0
|
|
289
308
|
.
|
|
290
309
|
.P
|
|
291
|
-
In general, you should set these settings per\-application by using the applicable flag to the bundle install(1) \fIbundle\-install\.1\.html\fR or bundle
|
|
310
|
+
In general, you should set these settings per\-application by using the applicable flag to the bundle install(1) \fIbundle\-install\.1\.html\fR or bundle cache(1) \fIbundle\-cache\.1\.html\fR command\.
|
|
292
311
|
.
|
|
293
312
|
.P
|
|
294
313
|
You can set them globally either via environment variables or \fBbundle config\fR, whichever is preferable for your setup\. If you use both, environment variables will take preference over global settings\.
|
|
@@ -342,13 +361,13 @@ bundle config set \-\-global mirror\.SOURCE_URL MIRROR_URL
|
|
|
342
361
|
.IP "" 0
|
|
343
362
|
.
|
|
344
363
|
.P
|
|
345
|
-
For example, to use a mirror of rubygems\.org hosted at
|
|
364
|
+
For example, to use a mirror of https://rubygems\.org hosted at https://example\.org:
|
|
346
365
|
.
|
|
347
366
|
.IP "" 4
|
|
348
367
|
.
|
|
349
368
|
.nf
|
|
350
369
|
|
|
351
|
-
bundle config set \-\-global mirror\.
|
|
370
|
+
bundle config set \-\-global mirror\.https://rubygems\.org https://example\.org
|
|
352
371
|
.
|
|
353
372
|
.fi
|
|
354
373
|
.
|
|
@@ -449,7 +468,7 @@ export BUNDLE_GITHUB__COM=username:password
|
|
|
449
468
|
.IP "" 0
|
|
450
469
|
.
|
|
451
470
|
.P
|
|
452
|
-
This is especially useful for private repositories on hosts such as
|
|
471
|
+
This is especially useful for private repositories on hosts such as GitHub, where you can use personal OAuth tokens:
|
|
453
472
|
.
|
|
454
473
|
.IP "" 4
|
|
455
474
|
.
|
|
@@ -462,13 +481,13 @@ export BUNDLE_GITHUB__COM=abcd0123generatedtoken:x\-oauth\-basic
|
|
|
462
481
|
.IP "" 0
|
|
463
482
|
.
|
|
464
483
|
.P
|
|
465
|
-
Note that any configured credentials will be redacted by informative commands such as \fBbundle config list\fR or \fBbundle config get\fR, unless you use the \fB\-\-parseable\fR flag\. This is to avoid
|
|
484
|
+
Note that any configured credentials will be redacted by informative commands such as \fBbundle config list\fR or \fBbundle config get\fR, unless you use the \fB\-\-parseable\fR flag\. This is to avoid unintentionally leaking credentials when copy\-pasting bundler output\.
|
|
466
485
|
.
|
|
467
486
|
.P
|
|
468
487
|
Also note that to guarantee a sane mapping between valid environment variable names and valid host names, bundler makes the following transformations:
|
|
469
488
|
.
|
|
470
489
|
.IP "\(bu" 4
|
|
471
|
-
Any \fB\-\fR characters in a host name are mapped to a triple dash (\fB___\fR) in the corresponding
|
|
490
|
+
Any \fB\-\fR characters in a host name are mapped to a triple dash (\fB___\fR) in the corresponding environment variable\.
|
|
472
491
|
.
|
|
473
492
|
.IP "\(bu" 4
|
|
474
493
|
Any \fB\.\fR characters in a host name are mapped to a double dash (\fB__\fR) in the corresponding environment variable\.
|
|
@@ -3,7 +3,10 @@ bundle-config(1) -- Set bundler configuration options
|
|
|
3
3
|
|
|
4
4
|
## SYNOPSIS
|
|
5
5
|
|
|
6
|
-
`bundle config`
|
|
6
|
+
`bundle config` list<br>
|
|
7
|
+
`bundle config` [get] NAME<br>
|
|
8
|
+
`bundle config` [set] NAME VALUE<br>
|
|
9
|
+
`bundle config` unset NAME
|
|
7
10
|
|
|
8
11
|
## DESCRIPTION
|
|
9
12
|
|
|
@@ -23,26 +26,28 @@ was set.
|
|
|
23
26
|
Executing `bundle config get <name>` will print the value of that configuration
|
|
24
27
|
setting, and where it was set.
|
|
25
28
|
|
|
26
|
-
Executing `bundle config set <name> <value>`
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
overridden and user will be warned.
|
|
30
|
-
|
|
31
|
-
Executing `bundle config set --global <name> <value>` works the same as above.
|
|
29
|
+
Executing `bundle config set <name> <value>` defaults to setting `local`
|
|
30
|
+
configuration if executing from within a local application, otherwise it will
|
|
31
|
+
set `global` configuration. See `--local` and `--global` options below.
|
|
32
32
|
|
|
33
33
|
Executing `bundle config set --local <name> <value>` will set that configuration
|
|
34
34
|
in the directory for the local application. The configuration will be stored in
|
|
35
35
|
`<project_root>/.bundle/config`. If `BUNDLE_APP_CONFIG` is set, the configuration
|
|
36
36
|
will be stored in `$BUNDLE_APP_CONFIG/config`.
|
|
37
37
|
|
|
38
|
+
Executing `bundle config set --global <name> <value>` will set that
|
|
39
|
+
configuration to the value specified for all bundles executed as the current
|
|
40
|
+
user. The configuration will be stored in `~/.bundle/config`. If <name> already
|
|
41
|
+
is set, <name> will be overridden and user will be warned.
|
|
42
|
+
|
|
38
43
|
Executing `bundle config unset <name>` will delete the configuration in both
|
|
39
44
|
local and global sources.
|
|
40
45
|
|
|
41
46
|
Executing `bundle config unset --global <name>` will delete the configuration
|
|
42
47
|
only from the user configuration.
|
|
43
48
|
|
|
44
|
-
Executing `bundle config unset --local <name
|
|
45
|
-
|
|
49
|
+
Executing `bundle config unset --local <name>` will delete the configuration
|
|
50
|
+
only from the local application.
|
|
46
51
|
|
|
47
52
|
Executing bundle with the `BUNDLE_IGNORE_CONFIG` environment variable set will
|
|
48
53
|
cause it to ignore all configuration.
|
|
@@ -72,6 +77,9 @@ The options that can be configured are:
|
|
|
72
77
|
`production` use. Please check carefully if you want to have this option
|
|
73
78
|
enabled in `development` or `test` environments.
|
|
74
79
|
|
|
80
|
+
* `only`:
|
|
81
|
+
A space-separated list of groups to install only gems of the specified groups.
|
|
82
|
+
|
|
75
83
|
* `path`:
|
|
76
84
|
The location to install the specified gems to. This defaults to Rubygems'
|
|
77
85
|
setting. Bundler shares this location with Rubygems, `gem install ...` will
|
|
@@ -83,7 +91,7 @@ The options that can be configured are:
|
|
|
83
91
|
A space-separated list of groups referencing gems to skip during installation.
|
|
84
92
|
|
|
85
93
|
* `with`:
|
|
86
|
-
A space-separated list of groups referencing gems to include during installation.
|
|
94
|
+
A space-separated list of **optional** groups referencing gems to include during installation.
|
|
87
95
|
|
|
88
96
|
## BUILD OPTIONS
|
|
89
97
|
|
|
@@ -202,18 +210,22 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
|
202
210
|
* `global_gem_cache` (`BUNDLE_GLOBAL_GEM_CACHE`):
|
|
203
211
|
Whether Bundler should cache all gems globally, rather than locally to the
|
|
204
212
|
installing Ruby installation.
|
|
213
|
+
* `ignore_funding_requests` (`BUNDLE_IGNORE_FUNDING_REQUESTS`):
|
|
214
|
+
When set, no funding requests will be printed.
|
|
205
215
|
* `ignore_messages` (`BUNDLE_IGNORE_MESSAGES`):
|
|
206
216
|
When set, no post install messages will be printed. To silence a single gem,
|
|
207
217
|
use dot notation like `ignore_messages.httparty true`.
|
|
208
218
|
* `init_gems_rb` (`BUNDLE_INIT_GEMS_RB`):
|
|
209
219
|
Generate a `gems.rb` instead of a `Gemfile` when running `bundle init`.
|
|
210
220
|
* `jobs` (`BUNDLE_JOBS`):
|
|
211
|
-
The number of gems Bundler can install in parallel. Defaults to
|
|
212
|
-
|
|
221
|
+
The number of gems Bundler can install in parallel. Defaults to the number of
|
|
222
|
+
available processors.
|
|
213
223
|
* `no_install` (`BUNDLE_NO_INSTALL`):
|
|
214
224
|
Whether `bundle package` should skip installing gems.
|
|
215
225
|
* `no_prune` (`BUNDLE_NO_PRUNE`):
|
|
216
226
|
Whether Bundler should leave outdated gems unpruned when caching.
|
|
227
|
+
* `only` (`BUNDLE_ONLY`):
|
|
228
|
+
A space-separated list of groups to install only gems of the specified groups.
|
|
217
229
|
* `path` (`BUNDLE_PATH`):
|
|
218
230
|
The location on disk where all gems in your bundle will be located regardless
|
|
219
231
|
of `$GEM_HOME` or `$GEM_PATH` values. Bundle gems not found in this location
|
|
@@ -271,7 +283,7 @@ learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
|
|
271
283
|
A `:`-separated list of groups whose gems bundler should not install.
|
|
272
284
|
|
|
273
285
|
In general, you should set these settings per-application by using the applicable
|
|
274
|
-
flag to the [bundle install(1)](bundle-install.1.html) or [bundle
|
|
286
|
+
flag to the [bundle install(1)](bundle-install.1.html) or [bundle cache(1)](bundle-cache.1.html) command.
|
|
275
287
|
|
|
276
288
|
You can set them globally either via environment variables or `bundle config`,
|
|
277
289
|
whichever is preferable for your setup. If you use both, environment variables
|
|
@@ -319,9 +331,9 @@ mirror to fetch gems.
|
|
|
319
331
|
|
|
320
332
|
bundle config set --global mirror.SOURCE_URL MIRROR_URL
|
|
321
333
|
|
|
322
|
-
For example, to use a mirror of rubygems.org hosted at
|
|
334
|
+
For example, to use a mirror of https://rubygems.org hosted at https://example.org:
|
|
323
335
|
|
|
324
|
-
bundle config set --global mirror.
|
|
336
|
+
bundle config set --global mirror.https://rubygems.org https://example.org
|
|
325
337
|
|
|
326
338
|
Each mirror also provides a fallback timeout setting. If the mirror does not
|
|
327
339
|
respond within the fallback timeout, Bundler will try to use the original
|
|
@@ -360,21 +372,21 @@ Or you can set the credentials as an environment variable like so:
|
|
|
360
372
|
|
|
361
373
|
export BUNDLE_GITHUB__COM=username:password
|
|
362
374
|
|
|
363
|
-
This is especially useful for private repositories on hosts such as
|
|
375
|
+
This is especially useful for private repositories on hosts such as GitHub,
|
|
364
376
|
where you can use personal OAuth tokens:
|
|
365
377
|
|
|
366
378
|
export BUNDLE_GITHUB__COM=abcd0123generatedtoken:x-oauth-basic
|
|
367
379
|
|
|
368
380
|
Note that any configured credentials will be redacted by informative commands
|
|
369
381
|
such as `bundle config list` or `bundle config get`, unless you use the
|
|
370
|
-
`--parseable` flag. This is to avoid
|
|
382
|
+
`--parseable` flag. This is to avoid unintentionally leaking credentials when
|
|
371
383
|
copy-pasting bundler output.
|
|
372
384
|
|
|
373
385
|
Also note that to guarantee a sane mapping between valid environment variable
|
|
374
386
|
names and valid host names, bundler makes the following transformations:
|
|
375
387
|
|
|
376
388
|
* Any `-` characters in a host name are mapped to a triple dash (`___`) in the
|
|
377
|
-
corresponding
|
|
389
|
+
corresponding environment variable.
|
|
378
390
|
|
|
379
391
|
* Any `.` characters in a host name are mapped to a double dash (`__`) in the
|
|
380
392
|
corresponding environment variable.
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
|
+
.
|
|
4
|
+
.TH "BUNDLE\-CONSOLE" "1" "October 2022" "" ""
|
|
5
|
+
.
|
|
6
|
+
.SH "NAME"
|
|
7
|
+
\fBbundle\-console\fR \- Deprecated way to open an IRB session with the bundle pre\-loaded
|
|
8
|
+
.
|
|
9
|
+
.SH "SYNOPSIS"
|
|
10
|
+
\fBbundle console\fR [GROUP]
|
|
11
|
+
.
|
|
12
|
+
.SH "DESCRIPTION"
|
|
13
|
+
Starts an interactive Ruby console session in the context of the current bundle\.
|
|
14
|
+
.
|
|
15
|
+
.P
|
|
16
|
+
If no \fBGROUP\fR is specified, all gems in the \fBdefault\fR group in the Gemfile(5) \fIhttps://bundler\.io/man/gemfile\.5\.html\fR are preliminarily loaded\.
|
|
17
|
+
.
|
|
18
|
+
.P
|
|
19
|
+
If \fBGROUP\fR is specified, all gems in the given group in the Gemfile in addition to the gems in \fBdefault\fR group are loaded\. Even if the given group does not exist in the Gemfile, IRB console starts without any warning or error\.
|
|
20
|
+
.
|
|
21
|
+
.P
|
|
22
|
+
The environment variable \fBBUNDLE_CONSOLE\fR or \fBbundle config set console\fR can be used to change the shell from the following:
|
|
23
|
+
.
|
|
24
|
+
.IP "\(bu" 4
|
|
25
|
+
\fBirb\fR (default)
|
|
26
|
+
.
|
|
27
|
+
.IP "\(bu" 4
|
|
28
|
+
\fBpry\fR (https://github\.com/pry/pry)
|
|
29
|
+
.
|
|
30
|
+
.IP "\(bu" 4
|
|
31
|
+
\fBripl\fR (https://github\.com/cldwalker/ripl)
|
|
32
|
+
.
|
|
33
|
+
.IP "" 0
|
|
34
|
+
.
|
|
35
|
+
.P
|
|
36
|
+
\fBbundle console\fR uses irb by default\. An alternative Pry or Ripl can be used with \fBbundle console\fR by adjusting the \fBconsole\fR Bundler setting\. Also make sure that \fBpry\fR or \fBripl\fR is in your Gemfile\.
|
|
37
|
+
.
|
|
38
|
+
.SH "EXAMPLE"
|
|
39
|
+
.
|
|
40
|
+
.nf
|
|
41
|
+
|
|
42
|
+
$ bundle config set console pry
|
|
43
|
+
$ bundle console
|
|
44
|
+
Resolving dependencies\.\.\.
|
|
45
|
+
[1] pry(main)>
|
|
46
|
+
.
|
|
47
|
+
.fi
|
|
48
|
+
.
|
|
49
|
+
.SH "NOTES"
|
|
50
|
+
This command was deprecated in Bundler 2\.1 and will be removed in 3\.0\. Use \fBbin/console\fR script, which can be generated by \fBbundle gem <NAME>\fR\.
|
|
51
|
+
.
|
|
52
|
+
.SH "SEE ALSO"
|
|
53
|
+
Gemfile(5) \fIhttps://bundler\.io/man/gemfile\.5\.html\fR
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
bundle-console(1) -- Deprecated way to open an IRB session with the bundle pre-loaded
|
|
2
|
+
=====================================================================================
|
|
3
|
+
|
|
4
|
+
## SYNOPSIS
|
|
5
|
+
|
|
6
|
+
`bundle console` [GROUP]
|
|
7
|
+
|
|
8
|
+
## DESCRIPTION
|
|
9
|
+
|
|
10
|
+
Starts an interactive Ruby console session in the context of the current bundle.
|
|
11
|
+
|
|
12
|
+
If no `GROUP` is specified, all gems in the `default` group in the [Gemfile(5)](https://bundler.io/man/gemfile.5.html) are
|
|
13
|
+
preliminarily loaded.
|
|
14
|
+
|
|
15
|
+
If `GROUP` is specified, all gems in the given group in the Gemfile in addition
|
|
16
|
+
to the gems in `default` group are loaded. Even if the given group does not
|
|
17
|
+
exist in the Gemfile, IRB console starts without any warning or error.
|
|
18
|
+
|
|
19
|
+
The environment variable `BUNDLE_CONSOLE` or `bundle config set console` can be used to change
|
|
20
|
+
the shell from the following:
|
|
21
|
+
|
|
22
|
+
* `irb` (default)
|
|
23
|
+
* `pry` (https://github.com/pry/pry)
|
|
24
|
+
* `ripl` (https://github.com/cldwalker/ripl)
|
|
25
|
+
|
|
26
|
+
`bundle console` uses irb by default. An alternative Pry or Ripl can be used with
|
|
27
|
+
`bundle console` by adjusting the `console` Bundler setting. Also make sure that
|
|
28
|
+
`pry` or `ripl` is in your Gemfile.
|
|
29
|
+
|
|
30
|
+
## EXAMPLE
|
|
31
|
+
|
|
32
|
+
$ bundle config set console pry
|
|
33
|
+
$ bundle console
|
|
34
|
+
Resolving dependencies...
|
|
35
|
+
[1] pry(main)>
|
|
36
|
+
|
|
37
|
+
## NOTES
|
|
38
|
+
|
|
39
|
+
This command was deprecated in Bundler 2.1 and will be removed in 3.0.
|
|
40
|
+
Use `bin/console` script, which can be generated by `bundle gem <NAME>`.
|
|
41
|
+
|
|
42
|
+
## SEE ALSO
|
|
43
|
+
|
|
44
|
+
[Gemfile(5)](https://bundler.io/man/gemfile.5.html)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-EXEC" "1" "
|
|
4
|
+
.TH "BUNDLE\-EXEC" "1" "October 2022" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-exec\fR \- Execute a command in the context of the bundle
|
|
@@ -155,7 +155,7 @@ You can find a list of all the gems containing gem plugins by running
|
|
|
155
155
|
.
|
|
156
156
|
.nf
|
|
157
157
|
|
|
158
|
-
ruby \-
|
|
158
|
+
ruby \-e "puts Gem\.find_files(\'rubygems_plugin\.rb\')"
|
|
159
159
|
.
|
|
160
160
|
.fi
|
|
161
161
|
.
|
|
@@ -145,7 +145,7 @@ their plugins.
|
|
|
145
145
|
You can find a list of all the gems containing gem plugins
|
|
146
146
|
by running
|
|
147
147
|
|
|
148
|
-
ruby -
|
|
148
|
+
ruby -e "puts Gem.find_files('rubygems_plugin.rb')"
|
|
149
149
|
|
|
150
150
|
At the very least, you should remove all but the newest
|
|
151
151
|
version of each gem plugin, and also remove all gem plugins
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-GEM" "1" "
|
|
4
|
+
.TH "BUNDLE\-GEM" "1" "October 2022" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
|
|
@@ -90,6 +90,19 @@ When Bundler is configured to not generate CI files, an interactive prompt will
|
|
|
90
90
|
When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\.
|
|
91
91
|
.
|
|
92
92
|
.TP
|
|
93
|
+
\fB\-\-linter\fR, \fB\-\-linter=rubocop\fR, \fB\-\-linter=standard\fR
|
|
94
|
+
Specify the linter and code formatter that Bundler should add to the project\'s development dependencies\. Acceptable values are \fBrubocop\fR and \fBstandard\fR\. A configuration file will be generated in the project directory\. Given no option is specified:
|
|
95
|
+
.
|
|
96
|
+
.IP
|
|
97
|
+
When Bundler is configured to add a linter, this defaults to Bundler\'s global config setting \fBgem\.linter\fR\.
|
|
98
|
+
.
|
|
99
|
+
.IP
|
|
100
|
+
When Bundler is configured not to add a linter, an interactive prompt will be displayed and the answer will be used for the current rubygem project\.
|
|
101
|
+
.
|
|
102
|
+
.IP
|
|
103
|
+
When Bundler is unconfigured, an interactive prompt will be displayed and the answer will be saved in Bundler\'s global config for future \fBbundle gem\fR use\.
|
|
104
|
+
.
|
|
105
|
+
.TP
|
|
93
106
|
\fB\-e\fR, \fB\-\-edit[=EDITOR]\fR
|
|
94
107
|
Open the resulting GEM_NAME\.gemspec in EDITOR, or the default editor if not specified\. The default is \fB$BUNDLER_EDITOR\fR, \fB$VISUAL\fR, or \fB$EDITOR\fR\.
|
|
95
108
|
.
|
|
@@ -92,6 +92,22 @@ configuration file using the following names:
|
|
|
92
92
|
the answer will be saved in Bundler's global config for future `bundle gem`
|
|
93
93
|
use.
|
|
94
94
|
|
|
95
|
+
* `--linter`, `--linter=rubocop`, `--linter=standard`:
|
|
96
|
+
Specify the linter and code formatter that Bundler should add to the
|
|
97
|
+
project's development dependencies. Acceptable values are `rubocop` and
|
|
98
|
+
`standard`. A configuration file will be generated in the project directory.
|
|
99
|
+
Given no option is specified:
|
|
100
|
+
|
|
101
|
+
When Bundler is configured to add a linter, this defaults to Bundler's
|
|
102
|
+
global config setting `gem.linter`.
|
|
103
|
+
|
|
104
|
+
When Bundler is configured not to add a linter, an interactive prompt
|
|
105
|
+
will be displayed and the answer will be used for the current rubygem project.
|
|
106
|
+
|
|
107
|
+
When Bundler is unconfigured, an interactive prompt will be displayed and
|
|
108
|
+
the answer will be saved in Bundler's global config for future `bundle gem`
|
|
109
|
+
use.
|
|
110
|
+
|
|
95
111
|
* `-e`, `--edit[=EDITOR]`:
|
|
96
112
|
Open the resulting GEM_NAME.gemspec in EDITOR, or the default editor if not
|
|
97
113
|
specified. The default is `$BUNDLER_EDITOR`, `$VISUAL`, or `$EDITOR`.
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
|
+
.
|
|
4
|
+
.TH "BUNDLE\-HELP" "1" "October 2022" "" ""
|
|
5
|
+
.
|
|
6
|
+
.SH "NAME"
|
|
7
|
+
\fBbundle\-help\fR \- Displays detailed help for each subcommand
|
|
8
|
+
.
|
|
9
|
+
.SH "SYNOPSIS"
|
|
10
|
+
\fBbundle help\fR [COMMAND]
|
|
11
|
+
.
|
|
12
|
+
.SH "DESCRIPTION"
|
|
13
|
+
Displays detailed help for the given subcommand\. You can specify a single \fBCOMMAND\fR at the same time\. When \fBCOMMAND\fR is omitted, help for \fBhelp\fR command will be displayed\.
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
bundle-help(1) -- Displays detailed help for each subcommand
|
|
2
|
+
============================================================
|
|
3
|
+
|
|
4
|
+
## SYNOPSIS
|
|
5
|
+
|
|
6
|
+
`bundle help` [COMMAND]
|
|
7
|
+
|
|
8
|
+
## DESCRIPTION
|
|
9
|
+
|
|
10
|
+
Displays detailed help for the given subcommand.
|
|
11
|
+
You can specify a single `COMMAND` at the same time.
|
|
12
|
+
When `COMMAND` is omitted, help for `help` command will be displayed.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-INIT" "1" "
|
|
4
|
+
.TH "BUNDLE\-INIT" "1" "October 2022" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-init\fR \- Generates a Gemfile into the current working directory
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-INJECT" "1" "
|
|
4
|
+
.TH "BUNDLE\-INJECT" "1" "October 2022" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
|
|
@@ -30,4 +30,7 @@ bundle inject \'rack\' \'> 0\'
|
|
|
30
30
|
.IP "" 0
|
|
31
31
|
.
|
|
32
32
|
.P
|
|
33
|
-
This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock
|
|
33
|
+
This will inject the \'rack\' gem with a version greater than 0 in your [\fBGemfile(5)\fR][Gemfile(5)] and Gemfile\.lock\.
|
|
34
|
+
.
|
|
35
|
+
.P
|
|
36
|
+
The \fBbundle inject\fR command was deprecated in Bundler 2\.1 and will be removed in Bundler 3\.0\.
|
|
@@ -19,4 +19,6 @@ Example:
|
|
|
19
19
|
bundle inject 'rack' '> 0'
|
|
20
20
|
|
|
21
21
|
This will inject the 'rack' gem with a version greater than 0 in your
|
|
22
|
-
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock
|
|
22
|
+
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock.
|
|
23
|
+
|
|
24
|
+
The `bundle inject` command was deprecated in Bundler 2.1 and will be removed in Bundler 3.0.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
|
3
3
|
.
|
|
4
|
-
.TH "BUNDLE\-INSTALL" "1" "
|
|
4
|
+
.TH "BUNDLE\-INSTALL" "1" "October 2022" "" ""
|
|
5
5
|
.
|
|
6
6
|
.SH "NAME"
|
|
7
7
|
\fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
|
|
@@ -63,13 +63,17 @@ The location of the Gemfile(5) which Bundler should use\. This defaults to a Gem
|
|
|
63
63
|
.
|
|
64
64
|
.TP
|
|
65
65
|
\fB\-\-jobs=[<number>]\fR, \fB\-j[<number>]\fR
|
|
66
|
-
The maximum number of parallel download and install jobs\. The default is
|
|
66
|
+
The maximum number of parallel download and install jobs\. The default is the number of available processors\.
|
|
67
67
|
.
|
|
68
68
|
.TP
|
|
69
69
|
\fB\-\-local\fR
|
|
70
70
|
Do not attempt to connect to \fBrubygems\.org\fR\. Instead, Bundler will use the gems already present in Rubygems\' cache or in \fBvendor/cache\fR\. Note that if an appropriate platform\-specific gem exists on \fBrubygems\.org\fR it will not be found\.
|
|
71
71
|
.
|
|
72
72
|
.TP
|
|
73
|
+
\fB\-\-prefer\-local\fR
|
|
74
|
+
Force using locally installed gems, or gems already present in Rubygems\' cache or in \fBvendor/cache\fR, when resolving, even if newer versions are available remotely\. Only attempt to connect to \fBrubygems\.org\fR for gems that are not present locally\.
|
|
75
|
+
.
|
|
76
|
+
.TP
|
|
73
77
|
\fB\-\-no\-cache\fR
|
|
74
78
|
Do not update the cache in \fBvendor/cache\fR with the newly bundled gems\. This does not remove any gems in the cache but keeps the newly bundled gems from being cached during the install\.
|
|
75
79
|
.
|
|
@@ -100,8 +100,8 @@ automatically and that requires `bundler` to silently remember them. Since
|
|
|
100
100
|
to this location.
|
|
101
101
|
|
|
102
102
|
* `--jobs=[<number>]`, `-j[<number>]`:
|
|
103
|
-
The maximum number of parallel download and install jobs. The default
|
|
104
|
-
|
|
103
|
+
The maximum number of parallel download and install jobs. The default is the
|
|
104
|
+
number of available processors.
|
|
105
105
|
|
|
106
106
|
* `--local`:
|
|
107
107
|
Do not attempt to connect to `rubygems.org`. Instead, Bundler will use the
|
|
@@ -109,6 +109,12 @@ automatically and that requires `bundler` to silently remember them. Since
|
|
|
109
109
|
appropriate platform-specific gem exists on `rubygems.org` it will not be
|
|
110
110
|
found.
|
|
111
111
|
|
|
112
|
+
* `--prefer-local`:
|
|
113
|
+
Force using locally installed gems, or gems already present in Rubygems' cache
|
|
114
|
+
or in `vendor/cache`, when resolving, even if newer versions are available
|
|
115
|
+
remotely. Only attempt to connect to `rubygems.org` for gems that are not
|
|
116
|
+
present locally.
|
|
117
|
+
|
|
112
118
|
* `--no-cache`:
|
|
113
119
|
Do not update the cache in `vendor/cache` with the newly bundled gems. This
|
|
114
120
|
does not remove any gems in the cache but keeps the newly bundled gems from
|