bundler 2.7.0 → 4.0.1

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.
Files changed (152) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +1058 -896
  3. data/README.md +4 -4
  4. data/bundler.gemspec +3 -3
  5. data/lib/bundler/build_metadata.rb +2 -2
  6. data/lib/bundler/capistrano.rb +1 -19
  7. data/lib/bundler/checksum.rb +6 -0
  8. data/lib/bundler/cli/cache.rb +1 -12
  9. data/lib/bundler/cli/common.rb +21 -4
  10. data/lib/bundler/cli/config.rb +1 -2
  11. data/lib/bundler/cli/console.rb +5 -0
  12. data/lib/bundler/cli/exec.rb +29 -4
  13. data/lib/bundler/cli/gem.rb +19 -33
  14. data/lib/bundler/cli/install.rb +10 -85
  15. data/lib/bundler/cli/issue.rb +2 -2
  16. data/lib/bundler/cli/list.rb +33 -2
  17. data/lib/bundler/cli/lock.rb +5 -5
  18. data/lib/bundler/cli/plugin.rb +5 -1
  19. data/lib/bundler/cli/show.rb +3 -7
  20. data/lib/bundler/cli/update.rb +4 -4
  21. data/lib/bundler/cli.rb +157 -122
  22. data/lib/bundler/compact_index_client.rb +0 -1
  23. data/lib/bundler/current_ruby.rb +3 -15
  24. data/lib/bundler/definition.rb +143 -95
  25. data/lib/bundler/deployment.rb +1 -64
  26. data/lib/bundler/digest.rb +1 -1
  27. data/lib/bundler/dsl.rb +27 -37
  28. data/lib/bundler/environment_preserver.rb +1 -0
  29. data/lib/bundler/errors.rb +1 -5
  30. data/lib/bundler/feature_flag.rb +0 -33
  31. data/lib/bundler/fetcher/compact_index.rb +1 -1
  32. data/lib/bundler/fetcher/gem_remote_fetcher.rb +6 -0
  33. data/lib/bundler/friendly_errors.rb +2 -2
  34. data/lib/bundler/index.rb +0 -7
  35. data/lib/bundler/inline.rb +9 -1
  36. data/lib/bundler/installer/gem_installer.rb +0 -11
  37. data/lib/bundler/installer.rb +0 -6
  38. data/lib/bundler/lockfile_generator.rb +1 -1
  39. data/lib/bundler/lockfile_parser.rb +2 -12
  40. data/lib/bundler/man/bundle-add.1 +1 -1
  41. data/lib/bundler/man/bundle-binstubs.1 +3 -6
  42. data/lib/bundler/man/bundle-binstubs.1.ronn +4 -6
  43. data/lib/bundler/man/bundle-cache.1 +2 -14
  44. data/lib/bundler/man/bundle-cache.1.ronn +1 -14
  45. data/lib/bundler/man/bundle-check.1 +2 -5
  46. data/lib/bundler/man/bundle-check.1.ronn +0 -5
  47. data/lib/bundler/man/bundle-clean.1 +1 -1
  48. data/lib/bundler/man/bundle-config.1 +39 -46
  49. data/lib/bundler/man/bundle-config.1.ronn +73 -75
  50. data/lib/bundler/man/bundle-console.1 +1 -1
  51. data/lib/bundler/man/bundle-doctor.1 +4 -4
  52. data/lib/bundler/man/bundle-doctor.1.ronn +4 -4
  53. data/lib/bundler/man/bundle-env.1 +1 -1
  54. data/lib/bundler/man/bundle-exec.1 +2 -5
  55. data/lib/bundler/man/bundle-exec.1.ronn +1 -5
  56. data/lib/bundler/man/bundle-fund.1 +1 -1
  57. data/lib/bundler/man/bundle-gem.1 +3 -6
  58. data/lib/bundler/man/bundle-gem.1.ronn +2 -5
  59. data/lib/bundler/man/bundle-help.1 +1 -1
  60. data/lib/bundler/man/bundle-info.1 +1 -1
  61. data/lib/bundler/man/bundle-init.1 +1 -1
  62. data/lib/bundler/man/bundle-install.1 +16 -59
  63. data/lib/bundler/man/bundle-install.1.ronn +27 -108
  64. data/lib/bundler/man/bundle-issue.1 +1 -1
  65. data/lib/bundler/man/bundle-licenses.1 +1 -1
  66. data/lib/bundler/man/bundle-list.1 +6 -1
  67. data/lib/bundler/man/bundle-list.1.ronn +5 -0
  68. data/lib/bundler/man/bundle-lock.1 +1 -1
  69. data/lib/bundler/man/bundle-open.1 +1 -1
  70. data/lib/bundler/man/bundle-outdated.1 +1 -1
  71. data/lib/bundler/man/bundle-platform.1 +1 -1
  72. data/lib/bundler/man/bundle-plugin.1 +33 -15
  73. data/lib/bundler/man/bundle-plugin.1.ronn +36 -15
  74. data/lib/bundler/man/bundle-pristine.1 +1 -1
  75. data/lib/bundler/man/bundle-remove.1 +2 -8
  76. data/lib/bundler/man/bundle-remove.1.ronn +1 -8
  77. data/lib/bundler/man/bundle-show.1 +2 -5
  78. data/lib/bundler/man/bundle-show.1.ronn +0 -4
  79. data/lib/bundler/man/bundle-update.1 +5 -5
  80. data/lib/bundler/man/bundle-update.1.ronn +4 -4
  81. data/lib/bundler/man/bundle-version.1 +1 -1
  82. data/lib/bundler/man/bundle.1 +1 -10
  83. data/lib/bundler/man/bundle.1.ronn +0 -9
  84. data/lib/bundler/man/gemfile.5 +32 -1
  85. data/lib/bundler/man/gemfile.5.ronn +28 -0
  86. data/lib/bundler/man/index.txt +0 -2
  87. data/lib/bundler/materialization.rb +1 -1
  88. data/lib/bundler/plugin/installer.rb +0 -10
  89. data/lib/bundler/plugin/source_list.rb +1 -1
  90. data/lib/bundler/plugin.rb +1 -1
  91. data/lib/bundler/resolver/package.rb +1 -0
  92. data/lib/bundler/resolver.rb +1 -1
  93. data/lib/bundler/ruby_dsl.rb +2 -0
  94. data/lib/bundler/ruby_version.rb +1 -3
  95. data/lib/bundler/rubygems_ext.rb +1 -1
  96. data/lib/bundler/rubygems_gem_installer.rb +1 -1
  97. data/lib/bundler/rubygems_integration.rb +1 -5
  98. data/lib/bundler/runtime.rb +5 -1
  99. data/lib/bundler/self_manager.rb +1 -1
  100. data/lib/bundler/settings.rb +9 -27
  101. data/lib/bundler/shared_helpers.rb +12 -20
  102. data/lib/bundler/source/gemspec.rb +4 -0
  103. data/lib/bundler/source/git/git_proxy.rb +3 -11
  104. data/lib/bundler/source/git.rb +2 -3
  105. data/lib/bundler/source/path.rb +5 -7
  106. data/lib/bundler/source/rubygems.rb +11 -17
  107. data/lib/bundler/source.rb +1 -1
  108. data/lib/bundler/source_list.rb +4 -45
  109. data/lib/bundler/source_map.rb +2 -5
  110. data/lib/bundler/spec_set.rb +6 -15
  111. data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +7 -129
  112. data/lib/bundler/templates/newgem/Rakefile.tt +5 -0
  113. data/lib/bundler/templates/newgem/circleci/config.yml.tt +12 -0
  114. data/lib/bundler/templates/newgem/ext/newgem/Cargo.toml.tt +1 -1
  115. data/lib/bundler/templates/newgem/ext/newgem/extconf-go.rb.tt +11 -0
  116. data/lib/bundler/templates/newgem/ext/newgem/go.mod.tt +5 -0
  117. data/lib/bundler/templates/newgem/ext/newgem/newgem-go.c.tt +2 -0
  118. data/lib/bundler/templates/newgem/ext/newgem/newgem.go.tt +31 -0
  119. data/lib/bundler/templates/newgem/github/workflows/main.yml.tt +6 -0
  120. data/lib/bundler/templates/newgem/gitlab-ci.yml.tt +9 -0
  121. data/lib/bundler/templates/newgem/lib/newgem.rb.tt +1 -1
  122. data/lib/bundler/templates/newgem/newgem.gemspec.tt +7 -4
  123. data/lib/bundler/ui/shell.rb +10 -6
  124. data/lib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb +26 -23
  125. data/lib/bundler/vendor/connection_pool/lib/connection_pool/version.rb +1 -1
  126. data/lib/bundler/vendor/connection_pool/lib/connection_pool.rb +50 -6
  127. data/lib/bundler/vendor/fileutils/lib/fileutils.rb +57 -52
  128. data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +5 -2
  129. data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +42 -6
  130. data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +1 -1
  131. data/lib/bundler/vendor/thor/lib/thor/runner.rb +2 -2
  132. data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +3 -7
  133. data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
  134. data/lib/bundler/vendor/thor/lib/thor.rb +1 -1
  135. data/lib/bundler/vendor/uri/lib/uri/common.rb +57 -15
  136. data/lib/bundler/vendor/uri/lib/uri/file.rb +1 -1
  137. data/lib/bundler/vendor/uri/lib/uri/generic.rb +34 -21
  138. data/lib/bundler/vendor/uri/lib/uri/http.rb +12 -0
  139. data/lib/bundler/vendor/uri/lib/uri/rfc2396_parser.rb +9 -8
  140. data/lib/bundler/vendor/uri/lib/uri/version.rb +2 -2
  141. data/lib/bundler/version.rb +1 -1
  142. data/lib/bundler/vlad.rb +1 -14
  143. data/lib/bundler.rb +6 -28
  144. metadata +9 -13
  145. data/lib/bundler/cli/inject.rb +0 -60
  146. data/lib/bundler/cli/viz.rb +0 -31
  147. data/lib/bundler/graph.rb +0 -152
  148. data/lib/bundler/man/bundle-inject.1 +0 -31
  149. data/lib/bundler/man/bundle-inject.1.ronn +0 -32
  150. data/lib/bundler/man/bundle-viz.1 +0 -30
  151. data/lib/bundler/man/bundle-viz.1.ronn +0 -36
  152. data/lib/bundler/similarity_detector.rb +0 -63
@@ -3,28 +3,20 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- `bundle install` [--binstubs[=DIRECTORY]]
7
- [--clean]
8
- [--deployment]
9
- [--frozen]
6
+ `bundle install` [--force]
10
7
  [--full-index]
11
8
  [--gemfile=GEMFILE]
12
9
  [--jobs=NUMBER]
13
10
  [--local]
11
+ [--lockfile=LOCKFILE]
14
12
  [--no-cache]
15
- [--no-prune]
16
- [--path PATH]
13
+ [--no-lock]
17
14
  [--prefer-local]
18
15
  [--quiet]
19
- [--redownload]
20
16
  [--retry=NUMBER]
21
- [--shebang=SHEBANG]
22
17
  [--standalone[=GROUP[ GROUP...]]]
23
- [--system]
24
18
  [--trust-policy=TRUST-POLICY]
25
19
  [--target-rbconfig=TARGET-RBCONFIG]
26
- [--with=GROUP[ GROUP...]]
27
- [--without=GROUP[ GROUP...]]
28
20
 
29
21
  ## DESCRIPTION
30
22
 
@@ -45,50 +37,8 @@ update process below under [CONSERVATIVE UPDATING][].
45
37
 
46
38
  ## OPTIONS
47
39
 
48
- The `--clean`, `--deployment`, `--frozen`, `--no-prune`, `--path`, `--shebang`,
49
- `--system`, `--without` and `--with` options are deprecated because they only
50
- make sense if they are applied to every subsequent `bundle install` run
51
- automatically and that requires `bundler` to silently remember them. Since
52
- `bundler` will no longer remember CLI flags in future versions, `bundle config`
53
- (see bundle-config(1)) should be used to apply them permanently.
54
-
55
- * `--binstubs[=BINSTUBS]`:
56
- Binstubs are scripts that wrap around executables. Bundler creates a small Ruby
57
- file (a binstub) that loads Bundler, runs the command, and puts it in `bin/`.
58
- This lets you link the binstub inside of an application to the exact gem
59
- version the application needs.
60
-
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.
68
-
69
- * `--clean`:
70
- On finishing the installation Bundler is going to remove any gems not present
71
- in the current Gemfile(5). Don't worry, gems currently in use will not be
72
- removed.
73
-
74
- This option is deprecated in favor of the `clean` setting.
75
-
76
- * `--deployment`:
77
- In [deployment mode][DEPLOYMENT MODE], Bundler will 'roll-out' the bundle for
78
- production or CI use. Please check carefully if you want to have this option
79
- enabled in your development environment.
80
-
81
- This option is deprecated in favor of the `deployment` setting.
82
-
83
- * `--redownload`, `--force`:
84
- Force download every gem, even if the required versions are already available
85
- locally.
86
-
87
- * `--frozen`:
88
- Do not allow the Gemfile.lock to be updated after this install. Exits
89
- non-zero if there are going to be changes to the Gemfile.lock.
90
-
91
- This option is deprecated in favor of the `frozen` setting.
40
+ * `--force`, `--redownload`:
41
+ Force reinstalling every gem, even if already installed.
92
42
 
93
43
  * `--full-index`:
94
44
  Bundler will not call Rubygems' API endpoint (default) but download and cache
@@ -112,6 +62,10 @@ automatically and that requires `bundler` to silently remember them. Since
112
62
  appropriate platform-specific gem exists on `rubygems.org` it will not be
113
63
  found.
114
64
 
65
+ * `--lockfile=LOCKFILE`:
66
+ The location of the lockfile which Bundler should use. This defaults
67
+ to the Gemfile location with `.lock` appended.
68
+
115
69
  * `--prefer-local`:
116
70
  Force using locally installed gems, or gems already present in Rubygems' cache
117
71
  or in `vendor/cache`, when resolving, even if newer versions are available
@@ -123,19 +77,14 @@ automatically and that requires `bundler` to silently remember them. Since
123
77
  does not remove any gems in the cache but keeps the newly bundled gems from
124
78
  being cached during the install.
125
79
 
126
- * `--no-prune`:
127
- Don't remove stale gems from the cache when the installation finishes.
80
+ * `--no-lock`:
81
+ Do not create a lockfile. Useful if you want to install dependencies but not
82
+ lock versions of gems. Recommended for library development, and other
83
+ situations where the code is expected to work with a range of dependency
84
+ versions.
128
85
 
129
- This option is deprecated in favor of the `no_prune` setting.
130
-
131
- * `--path=PATH`:
132
- The location to install the specified gems to. This defaults to Rubygems'
133
- setting. Bundler shares this location with Rubygems, `gem install ...` will
134
- have gem installed there, too. Therefore, gems installed without a
135
- `--path ...` setting will show up by calling `gem list`. Accordingly, gems
136
- installed to other locations will not get listed.
137
-
138
- This option is deprecated in favor of the `path` setting.
86
+ This has the same effect as using `lockfile false` in the Gemfile.
87
+ See gemfile(5) for more information.
139
88
 
140
89
  * `--quiet`:
141
90
  Do not print progress information to the standard output.
@@ -143,27 +92,12 @@ automatically and that requires `bundler` to silently remember them. Since
143
92
  * `--retry=[<number>]`:
144
93
  Retry failed network or git requests for <number> times.
145
94
 
146
- * `--shebang=SHEBANG`:
147
- Uses the specified ruby executable (usually `ruby`) to execute the scripts
148
- created with `--binstubs`. In addition, if you use `--binstubs` together with
149
- `--shebang jruby` these executables will be changed to execute `jruby`
150
- instead.
151
-
152
- This option is deprecated in favor of the `shebang` setting.
153
-
154
95
  * `--standalone[=<list>]`:
155
96
  Makes a bundle that can work without depending on Rubygems or Bundler at
156
97
  runtime. A space separated list of groups to install can be specified.
157
98
  Bundler creates a directory named `bundle` and installs the bundle there. It
158
99
  also generates a `bundle/bundler/setup.rb` file to replace Bundler's own setup
159
- in the manner required. Using this option implicitly sets `path`, which is a
160
- [remembered option][REMEMBERED OPTIONS].
161
-
162
- * `--system`:
163
- Installs the gems specified in the bundle to the system's Rubygems location.
164
- This overrides any previous configuration of `--path`.
165
-
166
- This option is deprecated in favor of the `system` setting.
100
+ in the manner required.
167
101
 
168
102
  * `--trust-policy=TRUST-POLICY`:
169
103
  Apply the Rubygems security policy <policy>, where policy is one of
@@ -174,26 +108,11 @@ automatically and that requires `bundler` to silently remember them. Since
174
108
  * `--target-rbconfig=TARGET-RBCONFIG`:
175
109
  Path to rbconfig.rb for the deployment target platform.
176
110
 
177
- * `--with=<list>`:
178
- A space-separated list of groups referencing gems to install. If an
179
- optional group is given it is installed. If a group is given that is
180
- in the remembered list of groups given to --without, it is removed
181
- from that list.
182
-
183
- This option is deprecated in favor of the `with` setting.
184
-
185
- * `--without=<list>`:
186
- A space-separated list of groups referencing gems to skip during installation.
187
- If a group is given that is in the remembered list of groups given
188
- to --with, it is removed from that list.
189
-
190
- This option is deprecated in favor of the `without` setting.
191
-
192
111
  ## DEPLOYMENT MODE
193
112
 
194
113
  Bundler's defaults are optimized for development. To switch to
195
- defaults optimized for deployment and for CI, use the `--deployment`
196
- flag. Do not activate deployment mode on development machines, as it
114
+ defaults optimized for deployment and for CI, use the `deployment`
115
+ setting. Do not activate deployment mode on development machines, as it
197
116
  will cause an error when the Gemfile(5) is modified.
198
117
 
199
118
  1. A `Gemfile.lock` is required.
@@ -225,9 +144,9 @@ will cause an error when the Gemfile(5) is modified.
225
144
  gems to the system, or the web server may not have permission to
226
145
  read them.
227
146
 
228
- As a result, `bundle install --deployment` installs gems to
229
- the `vendor/bundle` directory in the application. This may be
230
- overridden using the `--path` option.
147
+ As a result, when `deployment` is configured, `bundle install` installs gems
148
+ to the `vendor/bundle` directory in the application. This may be
149
+ overridden using the `path` setting.
231
150
 
232
151
  ## INSTALLING GROUPS
233
152
 
@@ -235,12 +154,12 @@ By default, `bundle install` will install all gems in all groups
235
154
  in your Gemfile(5), except those declared for a different platform.
236
155
 
237
156
  However, you can explicitly tell Bundler to skip installing
238
- certain groups with the `--without` option. This option takes
157
+ certain groups with the `without` setting. This setting takes
239
158
  a space-separated list of groups.
240
159
 
241
- While the `--without` option will skip _installing_ the gems in the
242
- specified groups, it will still _download_ those gems and use them to
243
- resolve the dependencies of every gem in your Gemfile(5).
160
+ While the `without` setting will skip _installing_ the gems in the
161
+ specified groups, `bundle install` will still _download_ those gems and use them
162
+ to resolve the dependencies of every gem in your Gemfile(5).
244
163
 
245
164
  This is so that installing a different set of groups on another
246
165
  machine (such as a production server) will not change the
@@ -266,7 +185,7 @@ For a simple illustration, consider the following Gemfile(5):
266
185
  In this case, `sinatra` depends on any version of Rack (`>= 1.0`), while
267
186
  `rack-perftools-profiler` depends on 1.x (`~> 1.0`).
268
187
 
269
- When you run `bundle install --without production` in development, we
188
+ When you configure `bundle config without production` in development, we
270
189
  look at the dependencies of `rack-perftools-profiler` as well. That way,
271
190
  you do not spend all your time developing against Rack 2.0, using new
272
191
  APIs unavailable in Rack 1.x, only to have Bundler switch to Rack 1.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\-ISSUE" "1" "July 2025" ""
3
+ .TH "BUNDLE\-ISSUE" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-issue\fR \- Get help reporting Bundler issues
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\-LICENSES" "1" "July 2025" ""
3
+ .TH "BUNDLE\-LICENSES" "1" "September 2025" ""
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\-LIST" "1" "July 2025" ""
3
+ .TH "BUNDLE\-LIST" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-list\fR \- List all the gems in the bundle
6
6
  .SH "SYNOPSIS"
@@ -19,6 +19,8 @@ bundle list \-\-without\-group test
19
19
  bundle list \-\-only\-group dev
20
20
  .P
21
21
  bundle list \-\-only\-group dev test \-\-paths
22
+ .P
23
+ bundle list \-\-format json
22
24
  .SH "OPTIONS"
23
25
  .TP
24
26
  \fB\-\-name\-only\fR
@@ -32,4 +34,7 @@ A space\-separated list of groups of gems to skip during printing\.
32
34
  .TP
33
35
  \fB\-\-only\-group=<list>\fR
34
36
  A space\-separated list of groups of gems to print\.
37
+ .TP
38
+ \fB\-\-format=FORMAT\fR
39
+ Format output ('json' is the only supported format)
35
40
 
@@ -21,6 +21,8 @@ bundle list --only-group dev
21
21
 
22
22
  bundle list --only-group dev test --paths
23
23
 
24
+ bundle list --format json
25
+
24
26
  ## OPTIONS
25
27
 
26
28
  * `--name-only`:
@@ -34,3 +36,6 @@ bundle list --only-group dev test --paths
34
36
 
35
37
  * `--only-group=<list>`:
36
38
  A space-separated list of groups of gems to print.
39
+
40
+ * `--format=FORMAT`:
41
+ Format output ('json' is the only supported format)
@@ -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" "July 2025" ""
3
+ .TH "BUNDLE\-LOCK" "1" "September 2025" ""
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" "July 2025" ""
3
+ .TH "BUNDLE\-OPEN" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-open\fR \- Opens the source directory for a 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\-OUTDATED" "1" "July 2025" ""
3
+ .TH "BUNDLE\-OUTDATED" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-outdated\fR \- List installed gems with newer versions available
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\-PLATFORM" "1" "July 2025" ""
3
+ .TH "BUNDLE\-PLATFORM" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-platform\fR \- Displays platform compatibility information
6
6
  .SH "SYNOPSIS"
@@ -1,12 +1,12 @@
1
1
  .\" generated with Ronn-NG/v0.10.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3
- .TH "BUNDLE\-PLUGIN" "1" "July 2025" ""
3
+ .TH "BUNDLE\-PLUGIN" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-plugin\fR \- Manage Bundler plugins
6
6
  .SH "SYNOPSIS"
7
- \fBbundle plugin\fR install PLUGINS [\-\-source=\fISOURCE\fR] [\-\-version=\fIversion\fR] [\-\-git=\fIgit\-url\fR] [\-\-branch=\fIbranch\fR|\-\-ref=\fIrev\fR] [\-\-path=\fIpath\fR]
7
+ \fBbundle plugin\fR install PLUGINS [\-\-source=SOURCE] [\-\-version=VERSION] [\-\-git=GIT] [\-\-branch=BRANCH|\-\-ref=REF] [\-\-path=PATH]
8
8
  .br
9
- \fBbundle plugin\fR uninstall PLUGINS
9
+ \fBbundle plugin\fR uninstall PLUGINS [\-\-all]
10
10
  .br
11
11
  \fBbundle plugin\fR list
12
12
  .br
@@ -16,18 +16,23 @@ You can install, uninstall, and list plugin(s) with this command to extend funct
16
16
  .SH "SUB\-COMMANDS"
17
17
  .SS "install"
18
18
  Install the given plugin(s)\.
19
+ .P
20
+ For example, \fBbundle plugin install bundler\-graph\fR will install bundler\-graph gem from globally configured sources (defaults to RubyGems\.org)\. Note that the global source specified in Gemfile is ignored\.
21
+ .P
22
+ \fBOPTIONS\fR
19
23
  .TP
20
- \fBbundle plugin install bundler\-graph\fR
21
- Install bundler\-graph gem from globally configured sources (defaults to RubyGems\.org)\. The global source, specified in source in Gemfile is ignored\.
22
- .TP
23
- \fBbundle plugin install bundler\-graph \-\-source https://example\.com\fR
24
- Install bundler\-graph gem from example\.com\. The global source, specified in source in Gemfile is not considered\.
24
+ \fB\-\-source=SOURCE\fR
25
+ Install the plugin gem from a specific source, rather than from globally configured sources\.
26
+ .IP
27
+ Example: \fBbundle plugin install bundler\-graph \-\-source https://example\.com\fR
25
28
  .TP
26
- \fBbundle plugin install bundler\-graph \-\-version 0\.2\.1\fR
27
- You can specify the version of the gem via \fB\-\-version\fR\.
29
+ \fB\-\-version=VERSION\fR
30
+ Specify a version of the plugin gem to install via \fB\-\-version\fR\.
31
+ .IP
32
+ Example: \fBbundle plugin install bundler\-graph \-\-version 0\.2\.1\fR
28
33
  .TP
29
- \fBbundle plugin install bundler\-graph \-\-git https://github\.com/rubygems/bundler\-graph\fR
30
- Install bundler\-graph gem from Git repository\. You can use standard Git URLs like:
34
+ \fB\-\-git=GIT\fR
35
+ Install the plugin gem from a Git repository\. You can use standard Git URLs like:
31
36
  .IP
32
37
  \fBssh://[user@]host\.xz[:port]/path/to/repo\.git\fR
33
38
  .br
@@ -37,12 +42,25 @@ Install bundler\-graph gem from Git repository\. You can use standard Git URLs l
37
42
  .br
38
43
  \fBfile:///path/to/repo\fR
39
44
  .IP
40
- When you specify \fB\-\-git\fR, you can use \fB\-\-branch\fR or \fB\-\-ref\fR to specify any branch, tag, or commit hash (revision) to use\.
45
+ Example: \fBbundle plugin install bundler\-graph \-\-git https://github\.com/rubygems/bundler\-graph\fR
41
46
  .TP
42
- \fBbundle plugin install bundler\-graph \-\-path \.\./bundler\-graph\fR
43
- Install bundler\-graph gem from a local path\.
47
+ \fB\-\-branch=BRANCH\fR
48
+ When you specify \fB\-\-git\fR, you can use \fB\-\-branch\fR to use\.
49
+ .TP
50
+ \fB\-\-ref=REF\fR
51
+ When you specify \fB\-\-git\fR, you can use \fB\-\-ref\fR to specify any tag, or commit hash (revision) to use\.
52
+ .TP
53
+ \fB\-\-path=PATH\fR
54
+ Install the plugin gem from a local path\.
55
+ .IP
56
+ Example: \fBbundle plugin install bundler\-graph \-\-path \.\./bundler\-graph\fR
44
57
  .SS "uninstall"
45
58
  Uninstall the plugin(s) specified in PLUGINS\.
59
+ .P
60
+ \fBOPTIONS\fR
61
+ .TP
62
+ \fB\-\-all\fR
63
+ Uninstall all the installed plugins\. If no plugin is installed, then it does nothing\.
46
64
  .SS "list"
47
65
  List the installed plugins and available commands\.
48
66
  .P
@@ -3,10 +3,10 @@ bundle-plugin(1) -- Manage Bundler plugins
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- `bundle plugin` install PLUGINS [--source=<SOURCE>] [--version=<version>]
7
- [--git=<git-url>] [--branch=<branch>|--ref=<rev>]
8
- [--path=<path>]<br>
9
- `bundle plugin` uninstall PLUGINS<br>
6
+ `bundle plugin` install PLUGINS [--source=SOURCE] [--version=VERSION]
7
+ [--git=GIT] [--branch=BRANCH|--ref=REF]
8
+ [--path=PATH]<br>
9
+ `bundle plugin` uninstall PLUGINS [--all]<br>
10
10
  `bundle plugin` list<br>
11
11
  `bundle plugin` help [COMMAND]
12
12
 
@@ -20,32 +20,53 @@ You can install, uninstall, and list plugin(s) with this command to extend funct
20
20
 
21
21
  Install the given plugin(s).
22
22
 
23
- * `bundle plugin install bundler-graph`:
24
- Install bundler-graph gem from globally configured sources (defaults to RubyGems.org). The global source, specified in source in Gemfile is ignored.
23
+ For example, `bundle plugin install bundler-graph` will install bundler-graph
24
+ gem from globally configured sources (defaults to RubyGems.org). Note that the
25
+ global source specified in Gemfile is ignored.
25
26
 
26
- * `bundle plugin install bundler-graph --source https://example.com`:
27
- Install bundler-graph gem from example.com. The global source, specified in source in Gemfile is not considered.
27
+ **OPTIONS**
28
28
 
29
- * `bundle plugin install bundler-graph --version 0.2.1`:
30
- You can specify the version of the gem via `--version`.
29
+ * `--source=SOURCE`:
30
+ Install the plugin gem from a specific source, rather than from globally configured sources.
31
31
 
32
- * `bundle plugin install bundler-graph --git https://github.com/rubygems/bundler-graph`:
33
- Install bundler-graph gem from Git repository. You can use standard Git URLs like:
32
+ Example: `bundle plugin install bundler-graph --source https://example.com`
33
+
34
+ * `--version=VERSION`:
35
+ Specify a version of the plugin gem to install via `--version`.
36
+
37
+ Example: `bundle plugin install bundler-graph --version 0.2.1`
38
+
39
+ * `--git=GIT`:
40
+ Install the plugin gem from a Git repository. You can use standard Git URLs like:
34
41
 
35
42
  `ssh://[user@]host.xz[:port]/path/to/repo.git`<br>
36
43
  `http[s]://host.xz[:port]/path/to/repo.git`<br>
37
44
  `/path/to/repo`<br>
38
45
  `file:///path/to/repo`
39
46
 
40
- When you specify `--git`, you can use `--branch` or `--ref` to specify any branch, tag, or commit hash (revision) to use.
47
+ Example: `bundle plugin install bundler-graph --git https://github.com/rubygems/bundler-graph`
48
+
49
+ * `--branch=BRANCH`:
50
+ When you specify `--git`, you can use `--branch` to use.
41
51
 
42
- * `bundle plugin install bundler-graph --path ../bundler-graph`:
43
- Install bundler-graph gem from a local path.
52
+ * `--ref=REF`:
53
+ When you specify `--git`, you can use `--ref` to specify any tag, or commit
54
+ hash (revision) to use.
55
+
56
+ * `--path=PATH`:
57
+ Install the plugin gem from a local path.
58
+
59
+ Example: `bundle plugin install bundler-graph --path ../bundler-graph`
44
60
 
45
61
  ### uninstall
46
62
 
47
63
  Uninstall the plugin(s) specified in PLUGINS.
48
64
 
65
+ **OPTIONS**
66
+
67
+ * `--all`:
68
+ Uninstall all the installed plugins. If no plugin is installed, then it does nothing.
69
+
49
70
  ### list
50
71
 
51
72
  List the installed plugins and available commands.
@@ -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\-PRISTINE" "1" "July 2025" ""
3
+ .TH "BUNDLE\-PRISTINE" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
6
6
  .SH "SYNOPSIS"
@@ -1,21 +1,15 @@
1
1
  .\" generated with Ronn-NG/v0.10.1
2
2
  .\" http://github.com/apjanke/ronn-ng/tree/0.10.1
3
- .TH "BUNDLE\-REMOVE" "1" "July 2025" ""
3
+ .TH "BUNDLE\-REMOVE" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-remove\fR \- Removes gems from the Gemfile
6
6
  .SH "SYNOPSIS"
7
- \fBbundle remove [GEM [GEM \|\.\|\.\|\.]] [\-\-install]\fR
7
+ `bundle remove [GEM [GEM \|\.\|\.\|\.]]
8
8
  .SH "DESCRIPTION"
9
9
  Removes the given gems from the Gemfile while ensuring that the resulting Gemfile is still valid\. If a gem cannot be removed, a warning is printed\. If a gem is already absent from the Gemfile, and error is raised\.
10
- .SH "OPTIONS"
11
- .TP
12
- \fB\-\-install\fR
13
- Runs \fBbundle install\fR after the given gems have been removed from the Gemfile, which ensures that both the lockfile and the installed gems on disk are also updated to remove the given gem(s)\.
14
10
  .P
15
11
  Example:
16
12
  .P
17
13
  bundle remove rails
18
14
  .P
19
15
  bundle remove rails rack
20
- .P
21
- bundle remove rails rack \-\-install
@@ -3,21 +3,14 @@ bundle-remove(1) -- Removes gems from the Gemfile
3
3
 
4
4
  ## SYNOPSIS
5
5
 
6
- `bundle remove [GEM [GEM ...]] [--install]`
6
+ `bundle remove [GEM [GEM ...]]
7
7
 
8
8
  ## DESCRIPTION
9
9
 
10
10
  Removes the given gems from the Gemfile while ensuring that the resulting Gemfile is still valid. If a gem cannot be removed, a warning is printed. If a gem is already absent from the Gemfile, and error is raised.
11
11
 
12
- ## OPTIONS
13
-
14
- * `--install`:
15
- Runs `bundle install` after the given gems have been removed from the Gemfile, which ensures that both the lockfile and the installed gems on disk are also updated to remove the given gem(s).
16
-
17
12
  Example:
18
13
 
19
14
  bundle remove rails
20
15
 
21
16
  bundle remove rails rack
22
-
23
- bundle remove rails rack --install
@@ -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\-SHOW" "1" "July 2025" ""
3
+ .TH "BUNDLE\-SHOW" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem
6
6
  .SH "SYNOPSIS"
7
- \fBbundle show\fR [GEM] [\-\-paths] [\-\-outdated]
7
+ \fBbundle show\fR [GEM] [\-\-paths]
8
8
  .SH "DESCRIPTION"
9
9
  Without the [GEM] option, \fBshow\fR will print a list of the names and versions of all gems that are required by your [\fBGemfile(5)\fR][Gemfile(5)], sorted by name\.
10
10
  .P
@@ -13,7 +13,4 @@ Calling show with [GEM] will list the exact location of that gem on your machine
13
13
  .TP
14
14
  \fB\-\-paths\fR
15
15
  List the paths of all gems that are required by your [\fBGemfile(5)\fR][Gemfile(5)], sorted by gem name\.
16
- .TP
17
- \fB\-\-outdated\fR
18
- Show verbose output including whether gems are outdated\.
19
16
 
@@ -5,7 +5,6 @@ bundle-show(1) -- Shows all the gems in your bundle, or the path to a gem
5
5
 
6
6
  `bundle show` [GEM]
7
7
  [--paths]
8
- [--outdated]
9
8
 
10
9
  ## DESCRIPTION
11
10
 
@@ -20,6 +19,3 @@ machine.
20
19
  * `--paths`:
21
20
  List the paths of all gems that are required by your [`Gemfile(5)`][Gemfile(5)],
22
21
  sorted by gem name.
23
-
24
- * `--outdated`:
25
- Show verbose output including whether gems are outdated.
@@ -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\-UPDATE" "1" "July 2025" ""
3
+ .TH "BUNDLE\-UPDATE" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-update\fR \- Update your gems to the latest available versions
6
6
  .SH "SYNOPSIS"
7
- \fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-quiet] [\-\-patch|\-\-minor|\-\-major] [\-\-pre] [\-\-redownload] [\-\-strict] [\-\-conservative]
7
+ \fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-force] [\-\-full\-index] [\-\-gemfile=GEMFILE] [\-\-jobs=NUMBER] [\-\-quiet] [\-\-patch|\-\-minor|\-\-major] [\-\-pre] [\-\-strict] [\-\-conservative]
8
8
  .SH "DESCRIPTION"
9
9
  Update the gems specified (all gems, if \fB\-\-all\fR flag is used), ignoring the previously installed gems specified in the \fBGemfile\.lock\fR\. In general, you should use bundle install(1) \fIbundle\-install\.1\.html\fR to install the same exact gems and versions across machines\.
10
10
  .P
@@ -29,6 +29,9 @@ Update the locked version of Ruby to the current version of Ruby\.
29
29
  \fB\-\-bundler[=BUNDLER]\fR
30
30
  Update the locked version of bundler to the invoked bundler version\.
31
31
  .TP
32
+ \fB\-\-force\fR, \fB\-\-redownload\fR
33
+ Force reinstalling every gem, even if already installed\.
34
+ .TP
32
35
  \fB\-\-full\-index\fR
33
36
  Fall back to using the single\-file index of all gems\.
34
37
  .TP
@@ -44,9 +47,6 @@ Retry failed network or git requests for \fInumber\fR times\.
44
47
  \fB\-\-quiet\fR
45
48
  Only output warnings and errors\.
46
49
  .TP
47
- \fB\-\-redownload\fR, \fB\-\-force\fR
48
- Force downloading every gem\.
49
- .TP
50
50
  \fB\-\-patch\fR
51
51
  Prefer updating only to next patch version\.
52
52
  .TP
@@ -9,13 +9,13 @@ bundle-update(1) -- Update your gems to the latest available versions
9
9
  [--local]
10
10
  [--ruby]
11
11
  [--bundler[=VERSION]]
12
+ [--force]
12
13
  [--full-index]
13
14
  [--gemfile=GEMFILE]
14
15
  [--jobs=NUMBER]
15
16
  [--quiet]
16
17
  [--patch|--minor|--major]
17
18
  [--pre]
18
- [--redownload]
19
19
  [--strict]
20
20
  [--conservative]
21
21
 
@@ -54,6 +54,9 @@ gem.
54
54
  * `--bundler[=BUNDLER]`:
55
55
  Update the locked version of bundler to the invoked bundler version.
56
56
 
57
+ * `--force`, `--redownload`:
58
+ Force reinstalling every gem, even if already installed.
59
+
57
60
  * `--full-index`:
58
61
  Fall back to using the single-file index of all gems.
59
62
 
@@ -70,9 +73,6 @@ gem.
70
73
  * `--quiet`:
71
74
  Only output warnings and errors.
72
75
 
73
- * `--redownload`, `--force`:
74
- Force downloading every gem.
75
-
76
76
  * `--patch`:
77
77
  Prefer updating only to next patch version.
78
78
 
@@ -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\-VERSION" "1" "July 2025" ""
3
+ .TH "BUNDLE\-VERSION" "1" "September 2025" ""
4
4
  .SH "NAME"
5
5
  \fBbundle\-version\fR \- Prints Bundler version information
6
6
  .SH "SYNOPSIS"