bundler 2.5.22 → 2.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (157) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +83 -0
  3. data/bundler.gemspec +2 -2
  4. data/lib/bundler/build_metadata.rb +2 -2
  5. data/lib/bundler/cli/add.rb +2 -0
  6. data/lib/bundler/cli/check.rb +2 -2
  7. data/lib/bundler/cli/console.rb +0 -4
  8. data/lib/bundler/cli/doctor.rb +4 -4
  9. data/lib/bundler/cli/exec.rb +1 -0
  10. data/lib/bundler/cli/gem.rb +1 -1
  11. data/lib/bundler/cli/info.rb +2 -2
  12. data/lib/bundler/cli/inject.rb +1 -1
  13. data/lib/bundler/cli/install.rb +4 -0
  14. data/lib/bundler/cli/lock.rb +20 -1
  15. data/lib/bundler/cli/pristine.rb +1 -1
  16. data/lib/bundler/cli/show.rb +2 -2
  17. data/lib/bundler/cli.rb +23 -53
  18. data/lib/bundler/compact_index_client/cache_file.rb +0 -5
  19. data/lib/bundler/compact_index_client/updater.rb +0 -11
  20. data/lib/bundler/definition.rb +143 -76
  21. data/lib/bundler/dependency.rb +1 -1
  22. data/lib/bundler/dsl.rb +33 -28
  23. data/lib/bundler/endpoint_specification.rb +10 -1
  24. data/lib/bundler/errors.rb +10 -0
  25. data/lib/bundler/feature_flag.rb +1 -0
  26. data/lib/bundler/fetcher/compact_index.rb +1 -1
  27. data/lib/bundler/fetcher.rb +10 -3
  28. data/lib/bundler/gem_helpers.rb +21 -5
  29. data/lib/bundler/injector.rb +2 -2
  30. data/lib/bundler/inline.rb +12 -8
  31. data/lib/bundler/installer/standalone.rb +2 -2
  32. data/lib/bundler/installer.rb +4 -38
  33. data/lib/bundler/lazy_specification.rb +74 -26
  34. data/lib/bundler/lockfile_generator.rb +1 -1
  35. data/lib/bundler/lockfile_parser.rb +9 -1
  36. data/lib/bundler/man/bundle-add.1 +17 -11
  37. data/lib/bundler/man/bundle-add.1.ronn +16 -10
  38. data/lib/bundler/man/bundle-binstubs.1 +7 -4
  39. data/lib/bundler/man/bundle-binstubs.1.ronn +6 -3
  40. data/lib/bundler/man/bundle-cache.1 +30 -2
  41. data/lib/bundler/man/bundle-cache.1.ronn +31 -2
  42. data/lib/bundler/man/bundle-check.1 +3 -3
  43. data/lib/bundler/man/bundle-check.1.ronn +4 -2
  44. data/lib/bundler/man/bundle-clean.1 +1 -1
  45. data/lib/bundler/man/bundle-config.1 +3 -5
  46. data/lib/bundler/man/bundle-config.1.ronn +2 -7
  47. data/lib/bundler/man/bundle-console.1 +2 -4
  48. data/lib/bundler/man/bundle-console.1.ronn +2 -7
  49. data/lib/bundler/man/bundle-doctor.1 +2 -2
  50. data/lib/bundler/man/bundle-doctor.1.ronn +1 -1
  51. data/lib/bundler/man/bundle-env.1 +9 -0
  52. data/lib/bundler/man/bundle-env.1.ronn +10 -0
  53. data/lib/bundler/man/bundle-exec.1 +5 -2
  54. data/lib/bundler/man/bundle-exec.1.ronn +4 -1
  55. data/lib/bundler/man/bundle-fund.1 +22 -0
  56. data/lib/bundler/man/bundle-fund.1.ronn +25 -0
  57. data/lib/bundler/man/bundle-gem.1 +17 -5
  58. data/lib/bundler/man/bundle-gem.1.ronn +27 -6
  59. data/lib/bundler/man/bundle-help.1 +1 -1
  60. data/lib/bundler/man/bundle-info.1 +5 -2
  61. data/lib/bundler/man/bundle-info.1.ronn +6 -2
  62. data/lib/bundler/man/bundle-init.1 +3 -3
  63. data/lib/bundler/man/bundle-init.1.ronn +3 -2
  64. data/lib/bundler/man/bundle-inject.1 +10 -2
  65. data/lib/bundler/man/bundle-inject.1.ronn +9 -1
  66. data/lib/bundler/man/bundle-install.1 +15 -12
  67. data/lib/bundler/man/bundle-install.1.ronn +22 -18
  68. data/lib/bundler/man/bundle-issue.1 +45 -0
  69. data/lib/bundler/man/bundle-issue.1.ronn +37 -0
  70. data/lib/bundler/man/bundle-licenses.1 +9 -0
  71. data/lib/bundler/man/bundle-licenses.1.ronn +10 -0
  72. data/lib/bundler/man/bundle-list.1 +1 -1
  73. data/lib/bundler/man/bundle-list.1.ronn +4 -1
  74. data/lib/bundler/man/bundle-lock.1 +21 -6
  75. data/lib/bundler/man/bundle-lock.1.ronn +25 -4
  76. data/lib/bundler/man/bundle-open.1 +2 -2
  77. data/lib/bundler/man/bundle-open.1.ronn +2 -1
  78. data/lib/bundler/man/bundle-outdated.1 +8 -5
  79. data/lib/bundler/man/bundle-outdated.1.ronn +8 -4
  80. data/lib/bundler/man/bundle-platform.1 +1 -1
  81. data/lib/bundler/man/bundle-plugin.1 +1 -1
  82. data/lib/bundler/man/bundle-pristine.1 +1 -1
  83. data/lib/bundler/man/bundle-pristine.1.ronn +1 -1
  84. data/lib/bundler/man/bundle-remove.1 +1 -1
  85. data/lib/bundler/man/bundle-remove.1.ronn +1 -1
  86. data/lib/bundler/man/bundle-show.1 +5 -2
  87. data/lib/bundler/man/bundle-show.1.ronn +4 -0
  88. data/lib/bundler/man/bundle-update.1 +13 -7
  89. data/lib/bundler/man/bundle-update.1.ronn +14 -6
  90. data/lib/bundler/man/bundle-version.1 +1 -1
  91. data/lib/bundler/man/bundle-viz.1 +4 -4
  92. data/lib/bundler/man/bundle-viz.1.ronn +7 -3
  93. data/lib/bundler/man/bundle.1 +1 -1
  94. data/lib/bundler/man/gemfile.5 +1 -1
  95. data/lib/bundler/man/index.txt +4 -0
  96. data/lib/bundler/materialization.rb +59 -0
  97. data/lib/bundler/plugin/events.rb +24 -0
  98. data/lib/bundler/plugin/installer.rb +1 -1
  99. data/lib/bundler/plugin.rb +20 -1
  100. data/lib/bundler/process_lock.rb +10 -14
  101. data/lib/bundler/remote_specification.rb +6 -1
  102. data/lib/bundler/resolver/base.rb +6 -6
  103. data/lib/bundler/resolver/candidate.rb +2 -2
  104. data/lib/bundler/resolver/spec_group.rb +4 -3
  105. data/lib/bundler/resolver.rb +5 -5
  106. data/lib/bundler/rubygems_ext.rb +30 -27
  107. data/lib/bundler/rubygems_gem_installer.rb +3 -2
  108. data/lib/bundler/rubygems_integration.rb +23 -40
  109. data/lib/bundler/runtime.rb +27 -7
  110. data/lib/bundler/self_manager.rb +2 -3
  111. data/lib/bundler/settings.rb +6 -1
  112. data/lib/bundler/shared_helpers.rb +29 -17
  113. data/lib/bundler/source/git/git_proxy.rb +0 -6
  114. data/lib/bundler/source/git.rb +56 -31
  115. data/lib/bundler/source/metadata.rb +2 -3
  116. data/lib/bundler/source/path.rb +2 -2
  117. data/lib/bundler/source_list.rb +1 -1
  118. data/lib/bundler/spec_set.rb +81 -56
  119. data/lib/bundler/stub_specification.rb +8 -0
  120. data/lib/bundler/templates/newgem/Gemfile.tt +0 -3
  121. data/lib/bundler/templates/newgem/README.md.tt +1 -1
  122. data/lib/bundler/templates/newgem/github/workflows/main.yml.tt +15 -15
  123. data/lib/bundler/templates/newgem/newgem.gemspec.tt +4 -4
  124. data/lib/bundler/uri_credentials_filter.rb +1 -1
  125. data/lib/bundler/vendor/fileutils/COPYING +56 -0
  126. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +15 -13
  127. data/lib/bundler/vendor/securerandom/COPYING +56 -0
  128. data/lib/bundler/vendor/securerandom/lib/securerandom.rb +5 -5
  129. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +3 -5
  130. data/lib/bundler/vendor/thor/lib/thor/group.rb +11 -0
  131. data/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +1 -4
  132. data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +2 -2
  133. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +2 -1
  134. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +9 -9
  135. data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +1 -1
  136. data/lib/bundler/vendor/thor/lib/thor/shell/table_printer.rb +5 -21
  137. data/lib/bundler/vendor/thor/lib/thor/util.rb +1 -1
  138. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  139. data/lib/bundler/vendor/thor/lib/thor.rb +11 -0
  140. data/lib/bundler/vendor/uri/COPYING +56 -0
  141. data/lib/bundler/vendor/uri/lib/uri/common.rb +37 -16
  142. data/lib/bundler/vendor/uri/lib/uri/file.rb +3 -3
  143. data/lib/bundler/vendor/uri/lib/uri/ftp.rb +1 -1
  144. data/lib/bundler/vendor/uri/lib/uri/generic.rb +16 -26
  145. data/lib/bundler/vendor/uri/lib/uri/http.rb +2 -2
  146. data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +10 -3
  147. data/lib/bundler/vendor/uri/lib/uri/rfc3986_parser.rb +26 -3
  148. data/lib/bundler/vendor/uri/lib/uri/version.rb +1 -1
  149. data/lib/bundler/vendor/uri/lib/uri.rb +9 -9
  150. data/lib/bundler/vendored_securerandom.rb +0 -2
  151. data/lib/bundler/version.rb +1 -1
  152. data/lib/bundler.rb +38 -14
  153. metadata +18 -12
  154. data/lib/bundler/vendor/fileutils/LICENSE.txt +0 -22
  155. data/lib/bundler/vendor/securerandom/LICENSE.txt +0 -22
  156. data/lib/bundler/vendor/securerandom/lib/random/formatter.rb +0 -373
  157. data/lib/bundler/vendor/uri/LICENSE.txt +0 -22
@@ -1,10 +1,10 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-INSTALL" "1" "September 2024" ""
3
+ .TH "BUNDLE\-INSTALL" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
6
6
  .SH "SYNOPSIS"
7
- \fBbundle install\fR [\-\-binstubs[=DIRECTORY]] [\-\-clean] [\-\-deployment] [\-\-frozen] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-local] [\-\-no\-cache] [\-\-no\-prune] [\-\-path PATH] [\-\-prefer\-local] [\-\-quiet] [\-\-redownload] [\-\-retry=NUMBER] [\-\-shebang] [\-\-standalone[=GROUP[ GROUP\|\.\|\.\|\.]]] [\-\-system] [\-\-trust\-policy=POLICY] [\-\-with=GROUP[ GROUP\|\.\|\.\|\.]] [\-\-without=GROUP[ GROUP\|\.\|\.\|\.]]
7
+ \fBbundle install\fR [\-\-binstubs[=DIRECTORY]] [\-\-clean] [\-\-deployment] [\-\-frozen] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-local] [\-\-no\-cache] [\-\-no\-prune] [\-\-path PATH] [\-\-prefer\-local] [\-\-quiet] [\-\-redownload] [\-\-retry=NUMBER] [\-\-shebang=SHEBANG] [\-\-standalone[=GROUP[ GROUP\|\.\|\.\|\.]]] [\-\-system] [\-\-trust\-policy=TRUST\-POLICY] [\-\-target\-rbconfig=TARGET\-RBCONFIG] [\-\-with=GROUP[ GROUP\|\.\|\.\|\.]] [\-\-without=GROUP[ GROUP\|\.\|\.\|\.]]
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
@@ -14,10 +14,10 @@ If a \fBGemfile\.lock\fR does exist, and you have updated your Gemfile(5), Bundl
14
14
  .SH "OPTIONS"
15
15
  The \fB\-\-clean\fR, \fB\-\-deployment\fR, \fB\-\-frozen\fR, \fB\-\-no\-prune\fR, \fB\-\-path\fR, \fB\-\-shebang\fR, \fB\-\-system\fR, \fB\-\-without\fR and \fB\-\-with\fR options are deprecated because they only make sense if they are applied to every subsequent \fBbundle install\fR run automatically and that requires \fBbundler\fR to silently remember them\. Since \fBbundler\fR will no longer remember CLI flags in future versions, \fBbundle config\fR (see bundle\-config(1)) should be used to apply them permanently\.
16
16
  .TP
17
- \fB\-\-binstubs[=<directory>]\fR
17
+ \fB\-\-binstubs[=BINSTUBS]\fR
18
18
  Binstubs are scripts that wrap around executables\. Bundler creates a small Ruby file (a binstub) that loads Bundler, runs the command, and puts it in \fBbin/\fR\. This lets you link the binstub inside of an application to the exact gem version the application needs\.
19
19
  .IP
20
- Creates a directory (defaults to \fB~/bin\fR) and places any executables from the gem there\. 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, this flag will create a \fBbin/rails\fR executable that ensures that all referred dependencies will be resolved using the bundled gems\.
20
+ Creates a directory (defaults to \fB~/bin\fR when the option is used without a value, or to the given \fB<BINSTUBS>\fR directory otherwise) and places any executables from the gem there\. 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, this flag will create a \fBbin/rails\fR executable that ensures that all referred dependencies will be resolved using the bundled gems\.
21
21
  .TP
22
22
  \fB\-\-clean\fR
23
23
  On finishing the installation Bundler is going to remove any gems not present in the current Gemfile(5)\. Don't worry, gems currently in use will not be removed\.
@@ -29,7 +29,7 @@ In \fIdeployment mode\fR, Bundler will 'roll\-out' the bundle for production or
29
29
  .IP
30
30
  This option is deprecated in favor of the \fBdeployment\fR setting\.
31
31
  .TP
32
- \fB\-\-redownload\fR
32
+ \fB\-\-redownload\fR, \fB\-\-force\fR
33
33
  Force download every gem, even if the required versions are already available locally\.
34
34
  .TP
35
35
  \fB\-\-frozen\fR
@@ -40,10 +40,10 @@ This option is deprecated in favor of the \fBfrozen\fR setting\.
40
40
  \fB\-\-full\-index\fR
41
41
  Bundler will not call Rubygems' API endpoint (default) but download and cache a (currently big) index file of all gems\. Performance can be improved for large bundles that seldom change by enabling this option\.
42
42
  .TP
43
- \fB\-\-gemfile=<gemfile>\fR
43
+ \fB\-\-gemfile=GEMFILE\fR
44
44
  The location of the Gemfile(5) which Bundler should use\. This defaults to a Gemfile(5) in the current working directory\. In general, Bundler will assume that the location of the Gemfile(5) is also the project's root and will try to find \fBGemfile\.lock\fR and \fBvendor/cache\fR relative to this location\.
45
45
  .TP
46
- \fB\-\-jobs=[<number>]\fR, \fB\-j[<number>]\fR
46
+ \fB\-\-jobs=<number>\fR, \fB\-j=<number>\fR
47
47
  The maximum number of parallel download and install jobs\. The default is the number of available processors\.
48
48
  .TP
49
49
  \fB\-\-local\fR
@@ -60,33 +60,36 @@ Don't remove stale gems from the cache when the installation finishes\.
60
60
  .IP
61
61
  This option is deprecated in favor of the \fBno_prune\fR setting\.
62
62
  .TP
63
- \fB\-\-path=<path>\fR
63
+ \fB\-\-path=PATH\fR
64
64
  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\.
65
65
  .IP
66
66
  This option is deprecated in favor of the \fBpath\fR setting\.
67
67
  .TP
68
68
  \fB\-\-quiet\fR
69
- Do not print progress information to the standard output\. Instead, Bundler will exit using a status code (\fB$?\fR)\.
69
+ Do not print progress information to the standard output\.
70
70
  .TP
71
71
  \fB\-\-retry=[<number>]\fR
72
72
  Retry failed network or git requests for \fInumber\fR times\.
73
73
  .TP
74
- \fB\-\-shebang=<ruby\-executable>\fR
74
+ \fB\-\-shebang=SHEBANG\fR
75
75
  Uses the specified ruby executable (usually \fBruby\fR) to execute the scripts created with \fB\-\-binstubs\fR\. In addition, if you use \fB\-\-binstubs\fR together with \fB\-\-shebang jruby\fR these executables will be changed to execute \fBjruby\fR instead\.
76
76
  .IP
77
77
  This option is deprecated in favor of the \fBshebang\fR setting\.
78
78
  .TP
79
79
  \fB\-\-standalone[=<list>]\fR
80
- Makes a bundle that can work without depending on Rubygems or Bundler at runtime\. A space separated list of groups to install has to be specified\. Bundler creates a directory named \fBbundle\fR and installs the bundle there\. It also generates a \fBbundle/bundler/setup\.rb\fR file to replace Bundler's own setup in the manner required\. Using this option implicitly sets \fBpath\fR, which is a [remembered option][REMEMBERED OPTIONS]\.
80
+ Makes a bundle that can work without depending on Rubygems or Bundler at runtime\. A space separated list of groups to install can be specified\. Bundler creates a directory named \fBbundle\fR and installs the bundle there\. It also generates a \fBbundle/bundler/setup\.rb\fR file to replace Bundler's own setup in the manner required\. Using this option implicitly sets \fBpath\fR, which is a [remembered option][REMEMBERED OPTIONS]\.
81
81
  .TP
82
82
  \fB\-\-system\fR
83
83
  Installs the gems specified in the bundle to the system's Rubygems location\. This overrides any previous configuration of \fB\-\-path\fR\.
84
84
  .IP
85
85
  This option is deprecated in favor of the \fBsystem\fR setting\.
86
86
  .TP
87
- \fB\-\-trust\-policy=[<policy>]\fR
87
+ \fB\-\-trust\-policy=TRUST\-POLICY\fR
88
88
  Apply the Rubygems security policy \fIpolicy\fR, where policy is one of \fBHighSecurity\fR, \fBMediumSecurity\fR, \fBLowSecurity\fR, \fBAlmostNoSecurity\fR, or \fBNoSecurity\fR\. For more details, please see the Rubygems signing documentation linked below in \fISEE ALSO\fR\.
89
89
  .TP
90
+ \fB\-\-target\-rbconfig=TARGET\-RBCONFIG\fR
91
+ Path to rbconfig\.rb for the deployment target platform\.
92
+ .TP
90
93
  \fB\-\-with=<list>\fR
91
94
  A space\-separated list of groups referencing gems to install\. If an optional group is given it is installed\. If a group is given that is in the remembered list of groups given to \-\-without, it is removed from that list\.
92
95
  .IP
@@ -18,10 +18,11 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
18
18
  [--quiet]
19
19
  [--redownload]
20
20
  [--retry=NUMBER]
21
- [--shebang]
21
+ [--shebang=SHEBANG]
22
22
  [--standalone[=GROUP[ GROUP...]]]
23
23
  [--system]
24
- [--trust-policy=POLICY]
24
+ [--trust-policy=TRUST-POLICY]
25
+ [--target-rbconfig=TARGET-RBCONFIG]
25
26
  [--with=GROUP[ GROUP...]]
26
27
  [--without=GROUP[ GROUP...]]
27
28
 
@@ -51,18 +52,19 @@ automatically and that requires `bundler` to silently remember them. Since
51
52
  `bundler` will no longer remember CLI flags in future versions, `bundle config`
52
53
  (see bundle-config(1)) should be used to apply them permanently.
53
54
 
54
- * `--binstubs[=<directory>]`:
55
+ * `--binstubs[=BINSTUBS]`:
55
56
  Binstubs are scripts that wrap around executables. Bundler creates a small Ruby
56
57
  file (a binstub) that loads Bundler, runs the command, and puts it in `bin/`.
57
58
  This lets you link the binstub inside of an application to the exact gem
58
59
  version the application needs.
59
60
 
60
- Creates a directory (defaults to `~/bin`) and places any executables from the
61
- gem there. These executables run in Bundler's context. If used, you might add
62
- this directory to your environment's `PATH` variable. For instance, if the
63
- `rails` gem comes with a `rails` executable, this flag will create a
64
- `bin/rails` executable that ensures that all referred dependencies will be
65
- resolved using the bundled gems.
61
+ Creates a directory (defaults to `~/bin` when the option is used without a
62
+ value, or to the given `<BINSTUBS>` directory otherwise) and places any
63
+ executables from the gem there. These executables run in Bundler's context. If
64
+ used, you might add this directory to your environment's `PATH` variable. For
65
+ instance, if the `rails` gem comes with a `rails` executable, this flag will
66
+ create a `bin/rails` executable that ensures that all referred dependencies
67
+ will be resolved using the bundled gems.
66
68
 
67
69
  * `--clean`:
68
70
  On finishing the installation Bundler is going to remove any gems not present
@@ -78,7 +80,7 @@ automatically and that requires `bundler` to silently remember them. Since
78
80
 
79
81
  This option is deprecated in favor of the `deployment` setting.
80
82
 
81
- * `--redownload`:
83
+ * `--redownload`, `--force`:
82
84
  Force download every gem, even if the required versions are already available
83
85
  locally.
84
86
 
@@ -93,14 +95,14 @@ automatically and that requires `bundler` to silently remember them. Since
93
95
  a (currently big) index file of all gems. Performance can be improved for
94
96
  large bundles that seldom change by enabling this option.
95
97
 
96
- * `--gemfile=<gemfile>`:
98
+ * `--gemfile=GEMFILE`:
97
99
  The location of the Gemfile(5) which Bundler should use. This defaults
98
100
  to a Gemfile(5) in the current working directory. In general, Bundler
99
101
  will assume that the location of the Gemfile(5) is also the project's
100
102
  root and will try to find `Gemfile.lock` and `vendor/cache` relative
101
103
  to this location.
102
104
 
103
- * `--jobs=[<number>]`, `-j[<number>]`:
105
+ * `--jobs=<number>`, `-j=<number>`:
104
106
  The maximum number of parallel download and install jobs. The default is the
105
107
  number of available processors.
106
108
 
@@ -126,7 +128,7 @@ automatically and that requires `bundler` to silently remember them. Since
126
128
 
127
129
  This option is deprecated in favor of the `no_prune` setting.
128
130
 
129
- * `--path=<path>`:
131
+ * `--path=PATH`:
130
132
  The location to install the specified gems to. This defaults to Rubygems'
131
133
  setting. Bundler shares this location with Rubygems, `gem install ...` will
132
134
  have gem installed there, too. Therefore, gems installed without a
@@ -136,13 +138,12 @@ automatically and that requires `bundler` to silently remember them. Since
136
138
  This option is deprecated in favor of the `path` setting.
137
139
 
138
140
  * `--quiet`:
139
- Do not print progress information to the standard output. Instead, Bundler
140
- will exit using a status code (`$?`).
141
+ Do not print progress information to the standard output.
141
142
 
142
143
  * `--retry=[<number>]`:
143
144
  Retry failed network or git requests for <number> times.
144
145
 
145
- * `--shebang=<ruby-executable>`:
146
+ * `--shebang=SHEBANG`:
146
147
  Uses the specified ruby executable (usually `ruby`) to execute the scripts
147
148
  created with `--binstubs`. In addition, if you use `--binstubs` together with
148
149
  `--shebang jruby` these executables will be changed to execute `jruby`
@@ -152,7 +153,7 @@ automatically and that requires `bundler` to silently remember them. Since
152
153
 
153
154
  * `--standalone[=<list>]`:
154
155
  Makes a bundle that can work without depending on Rubygems or Bundler at
155
- runtime. A space separated list of groups to install has to be specified.
156
+ runtime. A space separated list of groups to install can be specified.
156
157
  Bundler creates a directory named `bundle` and installs the bundle there. It
157
158
  also generates a `bundle/bundler/setup.rb` file to replace Bundler's own setup
158
159
  in the manner required. Using this option implicitly sets `path`, which is a
@@ -164,12 +165,15 @@ automatically and that requires `bundler` to silently remember them. Since
164
165
 
165
166
  This option is deprecated in favor of the `system` setting.
166
167
 
167
- * `--trust-policy=[<policy>]`:
168
+ * `--trust-policy=TRUST-POLICY`:
168
169
  Apply the Rubygems security policy <policy>, where policy is one of
169
170
  `HighSecurity`, `MediumSecurity`, `LowSecurity`, `AlmostNoSecurity`, or
170
171
  `NoSecurity`. For more details, please see the Rubygems signing documentation
171
172
  linked below in [SEE ALSO][].
172
173
 
174
+ * `--target-rbconfig=TARGET-RBCONFIG`:
175
+ Path to rbconfig.rb for the deployment target platform.
176
+
173
177
  * `--with=<list>`:
174
178
  A space-separated list of groups referencing gems to install. If an
175
179
  optional group is given it is installed. If a group is given that is
@@ -0,0 +1,45 @@
1
+ .\" generated with nRonn/v0.11.1
2
+ .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
+ .TH "BUNDLE\-ISSUE" "1" "December 2024" ""
4
+ .SH "NAME"
5
+ \fBbundle\-issue\fR \- Get help reporting Bundler issues
6
+ .SH "SYNOPSIS"
7
+ \fBbundle issue\fR
8
+ .SH "DESCRIPTION"
9
+ Provides guidance on reporting Bundler issues and outputs detailed system information that should be included when filing a bug report\. This command:
10
+ .IP "1." 4
11
+ Displays links to troubleshooting resources
12
+ .IP "2." 4
13
+ Shows instructions for reporting issues
14
+ .IP "3." 4
15
+ Outputs comprehensive environment information needed for debugging
16
+ .IP "" 0
17
+ .P
18
+ The command helps ensure that bug reports include all necessary system details for effective troubleshooting\.
19
+ .SH "OUTPUT"
20
+ The command outputs several sections:
21
+ .IP "\(bu" 4
22
+ Troubleshooting links and resources
23
+ .IP "\(bu" 4
24
+ Link to the GitHub issue template
25
+ .IP "\(bu" 4
26
+ Environment information including: Bundler version and platforms, Ruby version and configuration, RubyGems version and paths, Development tool versions (Git, RVM, rbenv, chruby)
27
+ .IP "\(bu" 4
28
+ Bundler build metadata
29
+ .IP "\(bu" 4
30
+ Current Bundler settings
31
+ .IP "\(bu" 4
32
+ Bundle Doctor output
33
+ .IP "" 0
34
+ .SH "EXAMPLES"
35
+ Get issue reporting information:
36
+ .IP "" 4
37
+ .nf
38
+ $ bundle issue
39
+ .fi
40
+ .IP "" 0
41
+ .SH "SEE ALSO"
42
+ .IP "\(bu" 4
43
+ bundle\-doctor(1)
44
+ .IP "" 0
45
+
@@ -0,0 +1,37 @@
1
+ bundle-issue(1) -- Get help reporting Bundler issues
2
+ ====================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle issue`
7
+
8
+ ## DESCRIPTION
9
+
10
+ Provides guidance on reporting Bundler issues and outputs detailed system information that should be included when filing a bug report. This command:
11
+
12
+ 1. Displays links to troubleshooting resources
13
+ 2. Shows instructions for reporting issues
14
+ 3. Outputs comprehensive environment information needed for debugging
15
+
16
+ The command helps ensure that bug reports include all necessary system details for effective troubleshooting.
17
+
18
+ ## OUTPUT
19
+
20
+ The command outputs several sections:
21
+
22
+ * Troubleshooting links and resources
23
+ * Link to the GitHub issue template
24
+ * Environment information including: Bundler version and platforms, Ruby version and configuration, RubyGems version and paths, Development tool versions (Git, RVM, rbenv, chruby)
25
+ * Bundler build metadata
26
+ * Current Bundler settings
27
+ * Bundle Doctor output
28
+
29
+ ## EXAMPLES
30
+
31
+ Get issue reporting information:
32
+
33
+ $ bundle issue
34
+
35
+ ## SEE ALSO
36
+
37
+ * bundle-doctor(1)
@@ -0,0 +1,9 @@
1
+ .\" generated with nRonn/v0.11.1
2
+ .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
+ .TH "BUNDLE\-LICENSES" "1" "December 2024" ""
4
+ .SH "NAME"
5
+ \fBbundle\-licenses\fR \- Print the license of all gems in the bundle
6
+ .SH "SYNOPSIS"
7
+ \fBbundle licenses\fR
8
+ .SH "DESCRIPTION"
9
+ Prints the license of all gems in the bundle\.
@@ -0,0 +1,10 @@
1
+ bundle-licenses(1) -- Print the license of all gems in the bundle
2
+ =================================================================
3
+
4
+ ## SYNOPSIS
5
+
6
+ `bundle licenses`
7
+
8
+ ## DESCRIPTION
9
+
10
+ Prints the license of all gems in the bundle.
@@ -1,6 +1,6 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-LIST" "1" "September 2024" ""
3
+ .TH "BUNDLE\-LIST" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-list\fR \- List all the gems in the bundle
6
6
  .SH "SYNOPSIS"
@@ -1,5 +1,5 @@
1
1
  bundle-list(1) -- List all the gems in the bundle
2
- =========================================================================
2
+ =================================================
3
3
 
4
4
  ## SYNOPSIS
5
5
 
@@ -25,9 +25,12 @@ bundle list --only-group dev test --paths
25
25
 
26
26
  * `--name-only`:
27
27
  Print only the name of each gem.
28
+
28
29
  * `--paths`:
29
30
  Print the path to each gem in the bundle.
31
+
30
32
  * `--without-group=<list>`:
31
33
  A space-separated list of groups of gems to skip during printing.
34
+
32
35
  * `--only-group=<list>`:
33
36
  A space-separated list of groups of gems to print.
@@ -1,35 +1,47 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-LOCK" "1" "September 2024" ""
3
+ .TH "BUNDLE\-LOCK" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
6
6
  .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] [\-\-bundler[=BUNDLER]] [\-\-local] [\-\-print] [\-\-lockfile=PATH] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-add\-checkums] [\-\-add\-platform] [\-\-remove\-platform] [\-\-normalize\-platforms] [\-\-patch] [\-\-minor] [\-\-major] [\-\-pre] [\-\-strict] [\-\-conservative]
8
8
  .SH "DESCRIPTION"
9
9
  Lock the gems specified in Gemfile\.
10
10
  .SH "OPTIONS"
11
11
  .TP
12
- \fB\-\-update=<*gems>\fR
12
+ \fB\-\-update[=<list>]\fR
13
13
  Ignores the existing lockfile\. Resolve then updates lockfile\. Taking a list of gems or updating all gems if no list is given\.
14
14
  .TP
15
+ \fB\-\-bundler[=BUNDLER]\fR
16
+ Update the locked version of bundler to the given version or the latest version if no version is given\.
17
+ .TP
15
18
  \fB\-\-local\fR
16
19
  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 a appropriate platform\-specific gem exists on \fBrubygems\.org\fR it will not be found\.
17
20
  .TP
18
21
  \fB\-\-print\fR
19
22
  Prints the lockfile to STDOUT instead of writing to the file system\.
20
23
  .TP
21
- \fB\-\-lockfile=<path>\fR
24
+ \fB\-\-lockfile=LOCKFILE\fR
22
25
  The path where the lockfile should be written to\.
23
26
  .TP
24
27
  \fB\-\-full\-index\fR
25
28
  Fall back to using the single\-file index of all gems\.
26
29
  .TP
27
- \fB\-\-add\-platform\fR
30
+ \fB\-\-gemfile=GEMFILE\fR
31
+ Use the specified gemfile instead of [\fBGemfile(5)\fR][Gemfile(5)]\.
32
+ .TP
33
+ \fB\-\-add\-checksums\fR
34
+ Add checksums to the lockfile\.
35
+ .TP
36
+ \fB\-\-add\-platform=<list>\fR
28
37
  Add a new platform to the lockfile, re\-resolving for the addition of that platform\.
29
38
  .TP
30
- \fB\-\-remove\-platform\fR
39
+ \fB\-\-remove\-platform=<list>\fR
31
40
  Remove a platform from the lockfile\.
32
41
  .TP
42
+ \fB\-\-normalize\-platforms\fR
43
+ Normalize lockfile platforms\.
44
+ .TP
33
45
  \fB\-\-patch\fR
34
46
  If updating, prefer updating only to next patch version\.
35
47
  .TP
@@ -39,6 +51,9 @@ If updating, prefer updating only to next minor version\.
39
51
  \fB\-\-major\fR
40
52
  If updating, prefer updating to next major version (default)\.
41
53
  .TP
54
+ \fB\-\-pre\fR
55
+ If updating, always choose the highest allowed version, regardless of prerelease status\.
56
+ .TP
42
57
  \fB\-\-strict\fR
43
58
  If updating, do not allow any gem to be updated past latest \-\-patch | \-\-minor | \-\-major\.
44
59
  .TP
@@ -4,15 +4,20 @@ bundle-lock(1) -- Creates / Updates a lockfile without installing
4
4
  ## SYNOPSIS
5
5
 
6
6
  `bundle lock` [--update]
7
+ [--bundler[=BUNDLER]]
7
8
  [--local]
8
9
  [--print]
9
10
  [--lockfile=PATH]
10
11
  [--full-index]
12
+ [--gemfile=GEMFILE]
13
+ [--add-checkums]
11
14
  [--add-platform]
12
15
  [--remove-platform]
16
+ [--normalize-platforms]
13
17
  [--patch]
14
18
  [--minor]
15
19
  [--major]
20
+ [--pre]
16
21
  [--strict]
17
22
  [--conservative]
18
23
 
@@ -22,10 +27,14 @@ Lock the gems specified in Gemfile.
22
27
 
23
28
  ## OPTIONS
24
29
 
25
- * `--update=<*gems>`:
30
+ * `--update[=<list>]`:
26
31
  Ignores the existing lockfile. Resolve then updates lockfile. Taking a list
27
32
  of gems or updating all gems if no list is given.
28
33
 
34
+ * `--bundler[=BUNDLER]`:
35
+ Update the locked version of bundler to the given version or the latest
36
+ version if no version is given.
37
+
29
38
  * `--local`:
30
39
  Do not attempt to connect to `rubygems.org`. Instead, Bundler will use the
31
40
  gems already present in Rubygems' cache or in `vendor/cache`. Note that if a
@@ -35,19 +44,28 @@ Lock the gems specified in Gemfile.
35
44
  * `--print`:
36
45
  Prints the lockfile to STDOUT instead of writing to the file system.
37
46
 
38
- * `--lockfile=<path>`:
47
+ * `--lockfile=LOCKFILE`:
39
48
  The path where the lockfile should be written to.
40
49
 
41
50
  * `--full-index`:
42
51
  Fall back to using the single-file index of all gems.
43
52
 
44
- * `--add-platform`:
53
+ * `--gemfile=GEMFILE`:
54
+ Use the specified gemfile instead of [`Gemfile(5)`][Gemfile(5)].
55
+
56
+ * `--add-checksums`:
57
+ Add checksums to the lockfile.
58
+
59
+ * `--add-platform=<list>`:
45
60
  Add a new platform to the lockfile, re-resolving for the addition of that
46
61
  platform.
47
62
 
48
- * `--remove-platform`:
63
+ * `--remove-platform=<list>`:
49
64
  Remove a platform from the lockfile.
50
65
 
66
+ * `--normalize-platforms`:
67
+ Normalize lockfile platforms.
68
+
51
69
  * `--patch`:
52
70
  If updating, prefer updating only to next patch version.
53
71
 
@@ -57,6 +75,9 @@ Lock the gems specified in Gemfile.
57
75
  * `--major`:
58
76
  If updating, prefer updating to next major version (default).
59
77
 
78
+ * `--pre`:
79
+ If updating, always choose the highest allowed version, regardless of prerelease status.
80
+
60
81
  * `--strict`:
61
82
  If updating, do not allow any gem to be updated past latest --patch | --minor | --major.
62
83
 
@@ -1,6 +1,6 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-OPEN" "1" "September 2024" ""
3
+ .TH "BUNDLE\-OPEN" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
6
6
  .SH "SYNOPSIS"
@@ -27,6 +27,6 @@ bundle open 'rack' \-\-path 'README\.md'
27
27
  Will open the README\.md file of the 'rack' gem source in your bundle\.
28
28
  .SH "OPTIONS"
29
29
  .TP
30
- \fB\-\-path\fR
30
+ \fB\-\-path[=PATH]\fR
31
31
  Specify GEM source relative path to open\.
32
32
 
@@ -23,5 +23,6 @@ Will open the source directory for the 'rack' gem in your bundle.
23
23
  Will open the README.md file of the 'rack' gem source in your bundle.
24
24
 
25
25
  ## OPTIONS
26
- * `--path`:
26
+
27
+ * `--path[=PATH]`:
27
28
  Specify GEM source relative path to open.
@@ -1,10 +1,10 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-OUTDATED" "1" "September 2024" ""
3
+ .TH "BUNDLE\-OUTDATED" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-outdated\fR \- List installed gems with newer versions available
6
6
  .SH "SYNOPSIS"
7
- \fBbundle outdated\fR [GEM] [\-\-local] [\-\-pre] [\-\-source] [\-\-strict] [\-\-parseable | \-\-porcelain] [\-\-group=GROUP] [\-\-groups] [\-\-patch|\-\-minor|\-\-major] [\-\-filter\-major] [\-\-filter\-minor] [\-\-filter\-patch] [\-\-only\-explicit]
7
+ \fBbundle outdated\fR [GEM] [\-\-local] [\-\-pre] [\-\-source] [\-\-filter\-strict | \-\-strict] [\-\-update\-strict] [\-\-parseable | \-\-porcelain] [\-\-group=GROUP] [\-\-groups] [\-\-patch|\-\-minor|\-\-major] [\-\-filter\-major] [\-\-filter\-minor] [\-\-filter\-patch] [\-\-only\-explicit]
8
8
  .SH "DESCRIPTION"
9
9
  Outdated lists the names and versions of gems that have a newer version available in the given source\. Calling outdated with [GEM [GEM]] will only check for newer versions of the given gems\. Prerelease gems are ignored by default\. If your gems are up to date, Bundler will exit with a status of 0\. Otherwise, it will exit 1\.
10
10
  .SH "OPTIONS"
@@ -15,16 +15,19 @@ Do not attempt to fetch gems remotely and use the gem cache instead\.
15
15
  \fB\-\-pre\fR
16
16
  Check for newer pre\-release gems\.
17
17
  .TP
18
- \fB\-\-source\fR
18
+ \fB\-\-source=<list>\fR
19
19
  Check against a specific source\.
20
20
  .TP
21
- \fB\-\-strict\fR
21
+ \fB\-\-filter\-strict\fR, \fB\-\-strict\fR
22
22
  Only list newer versions allowed by your Gemfile requirements, also respecting conservative update flags (\-\-patch, \-\-minor, \-\-major)\.
23
23
  .TP
24
+ \fB\-\-update\-strict\fR
25
+ Strict conservative resolution, do not allow any gem to be updated past latest \-\-patch | \-\-minor | \-\-major\.
26
+ .TP
24
27
  \fB\-\-parseable\fR, \fB\-\-porcelain\fR
25
28
  Use minimal formatting for more parseable output\.
26
29
  .TP
27
- \fB\-\-group\fR
30
+ \fB\-\-group=GROUP\fR
28
31
  List gems from a specific group\.
29
32
  .TP
30
33
  \fB\-\-groups\fR
@@ -6,7 +6,8 @@ bundle-outdated(1) -- List installed gems with newer versions available
6
6
  `bundle outdated` [GEM] [--local]
7
7
  [--pre]
8
8
  [--source]
9
- [--strict]
9
+ [--filter-strict | --strict]
10
+ [--update-strict]
10
11
  [--parseable | --porcelain]
11
12
  [--group=GROUP]
12
13
  [--groups]
@@ -31,16 +32,19 @@ are up to date, Bundler will exit with a status of 0. Otherwise, it will exit 1.
31
32
  * `--pre`:
32
33
  Check for newer pre-release gems.
33
34
 
34
- * `--source`:
35
+ * `--source=<list>`:
35
36
  Check against a specific source.
36
37
 
37
- * `--strict`:
38
+ * `--filter-strict`, `--strict`:
38
39
  Only list newer versions allowed by your Gemfile requirements, also respecting conservative update flags (--patch, --minor, --major).
39
40
 
41
+ * `--update-strict`:
42
+ Strict conservative resolution, do not allow any gem to be updated past latest --patch | --minor | --major.
43
+
40
44
  * `--parseable`, `--porcelain`:
41
45
  Use minimal formatting for more parseable output.
42
46
 
43
- * `--group`:
47
+ * `--group=GROUP`:
44
48
  List gems from a specific group.
45
49
 
46
50
  * `--groups`:
@@ -1,6 +1,6 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-PLATFORM" "1" "September 2024" ""
3
+ .TH "BUNDLE\-PLATFORM" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-platform\fR \- Displays platform compatibility information
6
6
  .SH "SYNOPSIS"
@@ -1,6 +1,6 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-PLUGIN" "1" "September 2024" ""
3
+ .TH "BUNDLE\-PLUGIN" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-plugin\fR \- Manage Bundler plugins
6
6
  .SH "SYNOPSIS"
@@ -1,6 +1,6 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-PRISTINE" "1" "September 2024" ""
3
+ .TH "BUNDLE\-PRISTINE" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
6
6
  .SH "SYNOPSIS"
@@ -1,5 +1,5 @@
1
1
  bundle-pristine(1) -- Restores installed gems to their pristine condition
2
- ===========================================================================
2
+ =========================================================================
3
3
 
4
4
  ## SYNOPSIS
5
5
 
@@ -1,6 +1,6 @@
1
1
  .\" generated with nRonn/v0.11.1
2
2
  .\" https://github.com/n-ronn/nronn/tree/0.11.1
3
- .TH "BUNDLE\-REMOVE" "1" "September 2024" ""
3
+ .TH "BUNDLE\-REMOVE" "1" "December 2024" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-remove\fR \- Removes gems from the Gemfile
6
6
  .SH "SYNOPSIS"
@@ -1,5 +1,5 @@
1
1
  bundle-remove(1) -- Removes gems from the Gemfile
2
- ===========================================================================
2
+ =================================================
3
3
 
4
4
  ## SYNOPSIS
5
5