bundler 1.16.1 → 1.17.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of bundler might be problematic. Click here for more details.
- checksums.yaml +5 -5
- data/CHANGELOG.md +195 -0
- data/README.md +5 -1
- data/bundler.gemspec +9 -2
- data/lib/bundler/build_metadata.rb +19 -4
- data/lib/bundler/cli/add.rb +15 -5
- data/lib/bundler/cli/binstubs.rb +8 -2
- data/lib/bundler/cli/check.rb +1 -1
- data/lib/bundler/cli/doctor.rb +47 -1
- data/lib/bundler/cli/exec.rb +4 -4
- data/lib/bundler/cli/gem.rb +5 -2
- data/lib/bundler/cli/init.rb +5 -0
- data/lib/bundler/cli/install.rb +10 -7
- data/lib/bundler/cli/list.rb +41 -5
- data/lib/bundler/cli/outdated.rb +8 -2
- data/lib/bundler/cli/pristine.rb +4 -0
- data/lib/bundler/cli/remove.rb +18 -0
- data/lib/bundler/cli/update.rb +3 -3
- data/lib/bundler/cli.rb +66 -22
- data/lib/bundler/compact_index_client/updater.rb +10 -1
- data/lib/bundler/current_ruby.rb +8 -1
- data/lib/bundler/definition.rb +48 -39
- data/lib/bundler/dep_proxy.rb +2 -2
- data/lib/bundler/dependency.rb +3 -2
- data/lib/bundler/deprecate.rb +2 -1
- data/lib/bundler/dsl.rb +19 -3
- data/lib/bundler/endpoint_specification.rb +1 -1
- data/lib/bundler/env.rb +10 -8
- data/lib/bundler/feature_flag.rb +7 -0
- data/lib/bundler/fetcher/downloader.rb +10 -5
- data/lib/bundler/fetcher/index.rb +2 -2
- data/lib/bundler/fetcher.rb +3 -3
- data/lib/bundler/friendly_errors.rb +2 -0
- data/lib/bundler/gem_helper.rb +1 -1
- data/lib/bundler/gem_version_promoter.rb +16 -2
- data/lib/bundler/injector.rb +173 -14
- data/lib/bundler/installer/gem_installer.rb +9 -2
- data/lib/bundler/installer/parallel_installer.rb +6 -1
- data/lib/bundler/installer.rb +41 -10
- data/lib/bundler/lazy_specification.rb +1 -1
- data/lib/bundler/mirror.rb +2 -2
- data/lib/bundler/plugin/events.rb +61 -0
- data/lib/bundler/plugin/index.rb +7 -2
- data/lib/bundler/plugin.rb +12 -5
- data/lib/bundler/process_lock.rb +1 -1
- data/lib/bundler/resolver/spec_group.rb +0 -5
- data/lib/bundler/resolver.rb +11 -10
- data/lib/bundler/ruby_version.rb +1 -1
- data/lib/bundler/rubygems_gem_installer.rb +7 -0
- data/lib/bundler/rubygems_integration.rb +9 -3
- data/lib/bundler/runtime.rb +10 -4
- data/lib/bundler/settings/validator.rb +23 -0
- data/lib/bundler/settings.rb +24 -3
- data/lib/bundler/shared_helpers.rb +33 -5
- data/lib/bundler/source/git/git_proxy.rb +6 -1
- data/lib/bundler/source/git.rb +2 -1
- data/lib/bundler/source/metadata.rb +2 -3
- data/lib/bundler/source/rubygems/remote.rb +4 -1
- data/lib/bundler/source/rubygems.rb +11 -2
- data/lib/bundler/source.rb +9 -9
- data/lib/bundler/spec_set.rb +4 -1
- data/lib/bundler/templates/Executable +1 -1
- data/lib/bundler/templates/newgem/lib/newgem.rb.tt +1 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +8 -2
- data/lib/bundler/templates/newgem/travis.yml.tt +2 -0
- data/lib/bundler/ui/shell.rb +3 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +11 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +7 -2
- data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +1 -1
- data/lib/bundler/version.rb +1 -1
- data/lib/bundler.rb +38 -16
- data/man/bundle-add.1 +18 -3
- data/man/bundle-add.1.txt +17 -5
- data/man/bundle-add.ronn +13 -2
- data/man/bundle-binstubs.1 +4 -4
- data/man/bundle-binstubs.1.txt +4 -4
- data/man/bundle-binstubs.ronn +3 -3
- data/man/bundle-check.1 +4 -4
- data/man/bundle-check.1.txt +6 -5
- data/man/bundle-check.ronn +3 -3
- data/man/bundle-clean.1 +1 -1
- data/man/bundle-clean.1.txt +1 -1
- data/man/bundle-config.1 +48 -6
- data/man/bundle-config.1.txt +64 -26
- data/man/bundle-config.ronn +34 -9
- data/man/bundle-doctor.1 +44 -0
- data/man/bundle-doctor.1.txt +44 -0
- data/man/bundle-doctor.ronn +33 -0
- data/man/bundle-exec.1 +4 -4
- data/man/bundle-exec.1.txt +9 -9
- data/man/bundle-exec.ronn +3 -3
- data/man/bundle-gem.1 +2 -2
- data/man/bundle-gem.1.txt +2 -2
- data/man/bundle-gem.ronn +1 -1
- data/man/bundle-info.1 +1 -1
- data/man/bundle-info.1.txt +1 -1
- data/man/bundle-init.1 +9 -4
- data/man/bundle-init.1.txt +16 -6
- data/man/bundle-init.ronn +15 -4
- data/man/bundle-inject.1 +4 -4
- data/man/bundle-inject.1.txt +5 -5
- data/man/bundle-inject.ronn +3 -3
- data/man/bundle-install.1 +7 -4
- data/man/bundle-install.1.txt +119 -108
- data/man/bundle-install.ronn +13 -4
- data/man/bundle-list.1 +32 -2
- data/man/bundle-list.1.txt +24 -2
- data/man/bundle-list.ronn +19 -1
- data/man/bundle-lock.1 +2 -2
- data/man/bundle-lock.1.txt +2 -2
- data/man/bundle-lock.ronn +1 -1
- data/man/bundle-open.1 +1 -1
- data/man/bundle-open.1.txt +1 -1
- data/man/bundle-outdated.1 +7 -3
- data/man/bundle-outdated.1.txt +11 -7
- data/man/bundle-outdated.ronn +5 -1
- data/man/bundle-package.1 +3 -3
- data/man/bundle-package.1.txt +6 -6
- data/man/bundle-package.ronn +3 -3
- data/man/bundle-platform.1 +1 -1
- data/man/bundle-platform.1.txt +1 -1
- data/man/bundle-pristine.1 +1 -1
- data/man/bundle-pristine.1.txt +1 -1
- data/man/bundle-remove.1 +31 -0
- data/man/bundle-remove.1.txt +34 -0
- data/man/bundle-remove.ronn +23 -0
- data/man/bundle-show.1 +3 -3
- data/man/bundle-show.1.txt +6 -4
- data/man/bundle-show.ronn +3 -2
- data/man/bundle-update.1 +17 -13
- data/man/bundle-update.1.txt +68 -63
- data/man/bundle-update.ronn +19 -15
- data/man/bundle-viz.1 +2 -2
- data/man/bundle-viz.1.txt +3 -2
- data/man/bundle-viz.ronn +1 -1
- data/man/bundle.1 +32 -28
- data/man/bundle.1.txt +31 -28
- data/man/bundle.ronn +30 -27
- data/man/gemfile.5 +19 -9
- data/man/gemfile.5.ronn +24 -9
- data/man/gemfile.5.txt +114 -97
- data/man/index.txt +2 -0
- metadata +16 -3
data/man/bundle-update.1.txt
CHANGED
@@ -6,19 +6,21 @@ NAME
|
|
6
6
|
bundle-update - Update your gems to the latest available versions
|
7
7
|
|
8
8
|
SYNOPSIS
|
9
|
-
bundle update *gems [--group=NAME] [--source=NAME] [--local]
|
10
|
-
[--bundler[=VERSION]] [--full-index]
|
11
|
-
[--patch|--minor|--major] [--strict] [--conservative]
|
9
|
+
bundle update *gems [--all] [--group=NAME] [--source=NAME] [--local]
|
10
|
+
[--ruby] [--bundler[=VERSION]] [--full-index] [--jobs=JOBS] [--quiet]
|
11
|
+
[--force] [--patch|--minor|--major] [--strict] [--conservative]
|
12
12
|
|
13
13
|
DESCRIPTION
|
14
|
-
Update the gems specified (all gems, if
|
14
|
+
Update the gems specified (all gems, if --all flag is used), ignoring
|
15
15
|
the previously installed gems specified in the Gemfile.lock. In gen-
|
16
|
-
eral, you should use
|
17
|
-
same exact gems and versions across machines.
|
16
|
+
eral, you should use bundle install(1) bundle-install.1.html to install
|
17
|
+
the same exact gems and versions across machines.
|
18
18
|
|
19
19
|
You would use bundle update to explicitly update the version of a gem.
|
20
20
|
|
21
21
|
OPTIONS
|
22
|
+
--all Update all gems specified in Gemfile.
|
23
|
+
|
22
24
|
--group=<name>, -g=[<name>]
|
23
25
|
Only update the gems in the specified group. For instance, you
|
24
26
|
can update all gems in the development group with bundle update
|
@@ -56,7 +58,8 @@ OPTIONS
|
|
56
58
|
Only output warnings and errors.
|
57
59
|
|
58
60
|
--force
|
59
|
-
Force downloading every gem.
|
61
|
+
Force downloading every gem. --redownload is an alias of this
|
62
|
+
option.
|
60
63
|
|
61
64
|
--patch
|
62
65
|
Prefer updating only to next patch version.
|
@@ -76,9 +79,9 @@ OPTIONS
|
|
76
79
|
shared dependencies to be updated.
|
77
80
|
|
78
81
|
UPDATING ALL GEMS
|
79
|
-
If
|
80
|
-
|
81
|
-
|
82
|
+
If you run bundle update --all, bundler will ignore any previously
|
83
|
+
installed gems and resolve all dependencies again based on the latest
|
84
|
+
versions of all gems available in the sources.
|
82
85
|
|
83
86
|
Consider the following Gemfile(5):
|
84
87
|
|
@@ -91,8 +94,8 @@ UPDATING ALL GEMS
|
|
91
94
|
|
92
95
|
|
93
96
|
|
94
|
-
When you run
|
95
|
-
bundler
|
97
|
+
When you run bundle install(1) bundle-install.1.html the first time,
|
98
|
+
bundler will resolve all of the dependencies, all the way down, and
|
96
99
|
install what you need:
|
97
100
|
|
98
101
|
|
@@ -131,26 +134,27 @@ UPDATING ALL GEMS
|
|
131
134
|
|
132
135
|
|
133
136
|
|
134
|
-
As
|
135
|
-
application
|
136
|
-
the
|
137
|
-
|
138
|
-
|
137
|
+
As you can see, even though you have two gems in the Gemfile(5), your
|
138
|
+
application needs 26 different gems in order to run. Bundler remembers
|
139
|
+
the exact versions it installed in Gemfile.lock. The next time you run
|
140
|
+
bundle install(1) bundle-install.1.html, bundler skips the dependency
|
141
|
+
resolution and installs the same gems as it installed last time.
|
139
142
|
|
140
|
-
After
|
141
|
-
on
|
142
|
-
still
|
143
|
-
worry that a new release of erubis or mail changes the gems you
|
143
|
+
After checking in the Gemfile.lock into version control and cloning it
|
144
|
+
on another machine, running bundle install(1) bundle-install.1.html
|
145
|
+
will still install the gems that you installed last time. You don't
|
146
|
+
need to worry that a new release of erubis or mail changes the gems you
|
147
|
+
use.
|
144
148
|
|
145
149
|
However, from time to time, you might want to update the gems you are
|
146
150
|
using to the newest versions that still match the gems in your Gem-
|
147
151
|
file(5).
|
148
152
|
|
149
|
-
To do
|
150
|
-
resolve all the dependencies again. Keep
|
151
|
-
result in a
|
152
|
-
requirements
|
153
|
-
time you ran bundle update.
|
153
|
+
To do this, run bundle update --all, which will ignore the Gem-
|
154
|
+
file.lock, and resolve all the dependencies again. Keep in mind that
|
155
|
+
this process can result in a significantly different set of the 25
|
156
|
+
gems, based on the requirements of new gems that the gem authors
|
157
|
+
released since the last time you ran bundle update --all.
|
154
158
|
|
155
159
|
UPDATING A LIST OF GEMS
|
156
160
|
Sometimes, you want to update a single gem in the Gemfile(5), and leave
|
@@ -207,20 +211,21 @@ OVERLAPPING DEPENDENCIES
|
|
207
211
|
are also dependencies of another gem.
|
208
212
|
|
209
213
|
To prevent updating shared dependencies, prior to version 1.14 the only
|
210
|
-
option
|
211
|
-
install
|
214
|
+
option was the CONSERVATIVE UPDATING behavior in bundle install(1) bun-
|
215
|
+
dle-install.1.html:
|
212
216
|
|
213
217
|
In this scenario, updating the thin version manually in the Gemfile(5),
|
214
|
-
and then running
|
215
|
-
daemons and eventmachine, but not rack.
|
216
|
-
CONSERVATIVE
|
218
|
+
and then running bundle install(1) bundle-install.1.html will only
|
219
|
+
update daemons and eventmachine, but not rack. For more information,
|
220
|
+
see the CONSERVATIVE UPDATING section of bundle install(1) bun-
|
221
|
+
dle-install.1.html.
|
217
222
|
|
218
223
|
Starting with 1.14, specifying the --conservative option will also pre-
|
219
224
|
vent shared dependencies from being updated.
|
220
225
|
|
221
226
|
PATCH LEVEL OPTIONS
|
222
|
-
Version
|
223
|
-
gem
|
227
|
+
Version 1.14 introduced 4 patch-level options that will influence how
|
228
|
+
gem versions are resolved. One of the following options can be used:
|
224
229
|
--patch, --minor or --major. --strict can be added to further influence
|
225
230
|
resolution.
|
226
231
|
|
@@ -237,41 +242,41 @@ PATCH LEVEL OPTIONS
|
|
237
242
|
Do not allow any gem to be updated past latest --patch | --minor
|
238
243
|
| --major.
|
239
244
|
|
240
|
-
When
|
241
|
-
requirements
|
245
|
+
When Bundler is resolving what versions to use to satisfy declared
|
246
|
+
requirements in the Gemfile or in parent gems, it looks up all avail-
|
242
247
|
able versions, filters out any versions that don't satisfy the require-
|
243
248
|
ment, and then, by default, sorts them from newest to oldest, consider-
|
244
249
|
ing them in that order.
|
245
250
|
|
246
|
-
Providing
|
247
|
-
sort
|
251
|
+
Providing one of the patch level options (e.g. --patch) changes the
|
252
|
+
sort order of the satisfying versions, causing Bundler to consider the
|
248
253
|
latest --patch or --minor version available before other versions. Note
|
249
254
|
that versions outside the stated patch level could still be resolved to
|
250
255
|
if necessary to find a suitable dependency graph.
|
251
256
|
|
252
|
-
For
|
253
|
-
defined
|
257
|
+
For example, if gem 'foo' is locked at 1.0.2, with no gem requirement
|
258
|
+
defined in the Gemfile, and versions 1.0.3, 1.0.4, 1.1.0, 1.1.1, 2.0.0
|
254
259
|
all exist, the default order of preference by default (--major) will be
|
255
260
|
"2.0.0, 1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2".
|
256
261
|
|
257
|
-
If
|
262
|
+
If the --patch option is used, the order of preference will change to
|
258
263
|
"1.0.4, 1.0.3, 1.0.2, 1.1.1, 1.1.0, 2.0.0".
|
259
264
|
|
260
|
-
If
|
265
|
+
If the --minor option is used, the order of preference will change to
|
261
266
|
"1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2, 2.0.0".
|
262
267
|
|
263
|
-
Combining
|
264
|
-
remove
|
268
|
+
Combining the --strict option with any of the patch level options will
|
269
|
+
remove any versions beyond the scope of the patch level option, to
|
265
270
|
ensure that no gem is updated that far.
|
266
271
|
|
267
|
-
To
|
272
|
+
To continue the previous example, if both --patch and --strict options
|
268
273
|
are used, the available versions for resolution would be "1.0.4, 1.0.3,
|
269
|
-
1.0.2".
|
274
|
+
1.0.2". If --minor and --strict are used, it would be "1.1.1, 1.1.0,
|
270
275
|
1.0.4, 1.0.3, 1.0.2".
|
271
276
|
|
272
|
-
Gem
|
277
|
+
Gem requirements as defined in the Gemfile will still be the first
|
273
278
|
determining factor for what versions are available. If the gem require-
|
274
|
-
ment
|
279
|
+
ment for foo in the Gemfile is '~> 1.0', that will accomplish the same
|
275
280
|
thing as providing the --minor and --strict options.
|
276
281
|
|
277
282
|
PATCH LEVEL EXAMPLES
|
@@ -320,26 +325,26 @@ PATCH LEVEL EXAMPLES
|
|
320
325
|
|
321
326
|
|
322
327
|
|
323
|
-
In
|
328
|
+
In case 1, bar is upgraded to 2.1.1, a minor version increase, because
|
324
329
|
the dependency from foo 1.4.5 required it.
|
325
330
|
|
326
|
-
In
|
327
|
-
allowed
|
331
|
+
In case 2, only foo is requested to be unlocked, but bar is also
|
332
|
+
allowed to move because it's not a declared dependency in the Gemfile.
|
328
333
|
|
329
|
-
In
|
330
|
-
is
|
334
|
+
In case 3, bar goes up a whole major release, because a minor increase
|
335
|
+
is preferred now for foo, and when it goes to 1.5.1, it requires 3.0.0
|
331
336
|
of bar.
|
332
337
|
|
333
338
|
In case 4, foo is preferred up to a minor version, but 1.5.1 won't work
|
334
|
-
because
|
339
|
+
because the --strict flag removes bar 3.0.0 from consideration since
|
335
340
|
it's a major increment.
|
336
341
|
|
337
|
-
In
|
338
|
-
from
|
342
|
+
In case 5, both foo and bar have any minor or major increments removed
|
343
|
+
from consideration because of the --strict flag, so the most they can
|
339
344
|
move is up to 1.4.4 and 2.0.4.
|
340
345
|
|
341
346
|
RECOMMENDED WORKFLOW
|
342
|
-
In
|
347
|
+
In general, when working with an application managed with bundler, you
|
343
348
|
should use the following workflow:
|
344
349
|
|
345
350
|
o After you create your Gemfile(5) for the first time, run
|
@@ -350,7 +355,7 @@ RECOMMENDED WORKFLOW
|
|
350
355
|
|
351
356
|
$ git add Gemfile.lock
|
352
357
|
|
353
|
-
o When
|
358
|
+
o When checking out this repository on another development machine,
|
354
359
|
run
|
355
360
|
|
356
361
|
$ bundle install
|
@@ -359,7 +364,7 @@ RECOMMENDED WORKFLOW
|
|
359
364
|
|
360
365
|
$ bundle install --deployment
|
361
366
|
|
362
|
-
o After
|
367
|
+
o After changing the Gemfile(5) to reflect a new or update depen-
|
363
368
|
dency, run
|
364
369
|
|
365
370
|
$ bundle install
|
@@ -368,19 +373,19 @@ RECOMMENDED WORKFLOW
|
|
368
373
|
|
369
374
|
$ git add Gemfile.lock
|
370
375
|
|
371
|
-
o If
|
372
|
-
update the specific gems that you changed in the Gemfile(5)
|
376
|
+
o If bundle install(1) bundle-install.1.html reports a conflict, man-
|
377
|
+
ually update the specific gems that you changed in the Gemfile(5)
|
373
378
|
|
374
379
|
$ bundle update rails thin
|
375
380
|
|
376
|
-
o If
|
381
|
+
o If you want to update all the gems to the latest possible versions
|
377
382
|
that still match the gems listed in the Gemfile(5), run
|
378
383
|
|
379
|
-
$ bundle update
|
384
|
+
$ bundle update --all
|
380
385
|
|
381
386
|
|
382
387
|
|
383
388
|
|
384
389
|
|
385
390
|
|
386
|
-
|
391
|
+
December 2018 BUNDLE-UPDATE(1)
|
data/man/bundle-update.ronn
CHANGED
@@ -3,7 +3,8 @@ bundle-update(1) -- Update your gems to the latest available versions
|
|
3
3
|
|
4
4
|
## SYNOPSIS
|
5
5
|
|
6
|
-
`bundle update` <*gems> [--
|
6
|
+
`bundle update` <*gems> [--all]
|
7
|
+
[--group=NAME]
|
7
8
|
[--source=NAME]
|
8
9
|
[--local]
|
9
10
|
[--ruby]
|
@@ -18,9 +19,9 @@ bundle-update(1) -- Update your gems to the latest available versions
|
|
18
19
|
|
19
20
|
## DESCRIPTION
|
20
21
|
|
21
|
-
Update the gems specified (all gems, if
|
22
|
+
Update the gems specified (all gems, if `--all` flag is used), ignoring
|
22
23
|
the previously installed gems specified in the `Gemfile.lock`. In
|
23
|
-
general, you should use [bundle install(1)]
|
24
|
+
general, you should use [bundle install(1)](bundle-install.1.html) to install the same exact
|
24
25
|
gems and versions across machines.
|
25
26
|
|
26
27
|
You would use `bundle update` to explicitly update the version of a
|
@@ -28,6 +29,9 @@ gem.
|
|
28
29
|
|
29
30
|
## OPTIONS
|
30
31
|
|
32
|
+
* `--all`:
|
33
|
+
Update all gems specified in Gemfile.
|
34
|
+
|
31
35
|
* `--group=<name>`, `-g=[<name>]`:
|
32
36
|
Only update the gems in the specified group. For instance, you can update all gems
|
33
37
|
in the development group with `bundle update --group development`. You can also
|
@@ -61,7 +65,7 @@ gem.
|
|
61
65
|
Only output warnings and errors.
|
62
66
|
|
63
67
|
* `--force`:
|
64
|
-
Force downloading every gem.
|
68
|
+
Force downloading every gem. `--redownload` is an alias of this option.
|
65
69
|
|
66
70
|
* `--patch`:
|
67
71
|
Prefer updating only to next patch version.
|
@@ -80,7 +84,7 @@ gem.
|
|
80
84
|
|
81
85
|
## UPDATING ALL GEMS
|
82
86
|
|
83
|
-
If you run `bundle update
|
87
|
+
If you run `bundle update --all`, bundler will ignore
|
84
88
|
any previously installed gems and resolve all dependencies again
|
85
89
|
based on the latest versions of all gems available in the sources.
|
86
90
|
|
@@ -91,7 +95,7 @@ Consider the following Gemfile(5):
|
|
91
95
|
gem "rails", "3.0.0.rc"
|
92
96
|
gem "nokogiri"
|
93
97
|
|
94
|
-
When you run [bundle install(1)]
|
98
|
+
When you run [bundle install(1)](bundle-install.1.html) the first time, bundler will resolve
|
95
99
|
all of the dependencies, all the way down, and install what you need:
|
96
100
|
|
97
101
|
Fetching gem metadata from https://rubygems.org/.........
|
@@ -128,21 +132,21 @@ all of the dependencies, all the way down, and install what you need:
|
|
128
132
|
|
129
133
|
As you can see, even though you have two gems in the Gemfile(5), your application
|
130
134
|
needs 26 different gems in order to run. Bundler remembers the exact versions
|
131
|
-
it installed in `Gemfile.lock`. The next time you run [bundle install(1)]
|
135
|
+
it installed in `Gemfile.lock`. The next time you run [bundle install(1)](bundle-install.1.html), bundler skips
|
132
136
|
the dependency resolution and installs the same gems as it installed last time.
|
133
137
|
|
134
138
|
After checking in the `Gemfile.lock` into version control and cloning it on another
|
135
|
-
machine, running [bundle install(1)]
|
139
|
+
machine, running [bundle install(1)](bundle-install.1.html) will _still_ install the gems that you installed
|
136
140
|
last time. You don't need to worry that a new release of `erubis` or `mail` changes
|
137
141
|
the gems you use.
|
138
142
|
|
139
143
|
However, from time to time, you might want to update the gems you are using to the
|
140
144
|
newest versions that still match the gems in your Gemfile(5).
|
141
145
|
|
142
|
-
To do this, run `bundle update`, which will ignore the `Gemfile.lock`, and resolve
|
146
|
+
To do this, run `bundle update --all`, which will ignore the `Gemfile.lock`, and resolve
|
143
147
|
all the dependencies again. Keep in mind that this process can result in a significantly
|
144
148
|
different set of the 25 gems, based on the requirements of new gems that the gem
|
145
|
-
authors released since the last time you ran `bundle update`.
|
149
|
+
authors released since the last time you ran `bundle update --all`.
|
146
150
|
|
147
151
|
## UPDATING A LIST OF GEMS
|
148
152
|
|
@@ -192,12 +196,12 @@ update all dependencies of that gem, including those that are also dependencies
|
|
192
196
|
of another gem.
|
193
197
|
|
194
198
|
To prevent updating shared dependencies, prior to version 1.14 the only option
|
195
|
-
was the `CONSERVATIVE UPDATING` behavior in [bundle install(1)]
|
199
|
+
was the `CONSERVATIVE UPDATING` behavior in [bundle install(1)](bundle-install.1.html):
|
196
200
|
|
197
201
|
In this scenario, updating the `thin` version manually in the Gemfile(5),
|
198
|
-
and then running [bundle install(1)]
|
202
|
+
and then running [bundle install(1)](bundle-install.1.html) will only update `daemons` and `eventmachine`,
|
199
203
|
but not `rack`. For more information, see the `CONSERVATIVE UPDATING` section
|
200
|
-
of [bundle install(1)]
|
204
|
+
of [bundle install(1)](bundle-install.1.html).
|
201
205
|
|
202
206
|
Starting with 1.14, specifying the `--conservative` option will also prevent shared
|
203
207
|
dependencies from being updated.
|
@@ -335,7 +339,7 @@ use the following workflow:
|
|
335
339
|
|
336
340
|
$ git add Gemfile.lock
|
337
341
|
|
338
|
-
* If [bundle install(1)]
|
342
|
+
* If [bundle install(1)](bundle-install.1.html) reports a conflict, manually update the specific
|
339
343
|
gems that you changed in the Gemfile(5)
|
340
344
|
|
341
345
|
$ bundle update rails thin
|
@@ -343,4 +347,4 @@ use the following workflow:
|
|
343
347
|
* If you want to update all the gems to the latest possible versions that
|
344
348
|
still match the gems listed in the Gemfile(5), run
|
345
349
|
|
346
|
-
$ bundle update
|
350
|
+
$ bundle update --all
|
data/man/bundle-viz.1
CHANGED
@@ -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\-VIZ" "1" "
|
4
|
+
.TH "BUNDLE\-VIZ" "1" "November 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-viz\fR \- Generates a visual dependency graph for your Gemfile
|
@@ -13,7 +13,7 @@
|
|
13
13
|
\fBviz\fR generates a PNG file of the current \fBGemfile(5)\fR as a dependency graph\. \fBviz\fR requires the ruby\-graphviz gem (and its dependencies)\.
|
14
14
|
.
|
15
15
|
.P
|
16
|
-
The associated gems must also be installed via \fBbundle install(1)\fR\.
|
16
|
+
The associated gems must also be installed via \fBbundle install(1)\fR \fIbundle\-install\.1\.html\fR\.
|
17
17
|
.
|
18
18
|
.SH "OPTIONS"
|
19
19
|
.
|
data/man/bundle-viz.1.txt
CHANGED
@@ -13,7 +13,8 @@ DESCRIPTION
|
|
13
13
|
viz generates a PNG file of the current Gemfile(5) as a dependency
|
14
14
|
graph. viz requires the ruby-graphviz gem (and its dependencies).
|
15
15
|
|
16
|
-
The
|
16
|
+
The associated gems must also be installed via bundle install(1) bun-
|
17
|
+
dle-install.1.html.
|
17
18
|
|
18
19
|
OPTIONS
|
19
20
|
--file, -f
|
@@ -35,4 +36,4 @@ OPTIONS
|
|
35
36
|
|
36
37
|
|
37
38
|
|
38
|
-
|
39
|
+
November 2018 BUNDLE-VIZ(1)
|
data/man/bundle-viz.ronn
CHANGED
@@ -14,7 +14,7 @@ bundle-viz(1) -- Generates a visual dependency graph for your Gemfile
|
|
14
14
|
`viz` generates a PNG file of the current `Gemfile(5)` as a dependency graph.
|
15
15
|
`viz` requires the ruby-graphviz gem (and its dependencies).
|
16
16
|
|
17
|
-
The associated gems must also be installed via `bundle install(1)
|
17
|
+
The associated gems must also be installed via [`bundle install(1)`](bundle-install.1.html).
|
18
18
|
|
19
19
|
## OPTIONS
|
20
20
|
|
data/man/bundle.1
CHANGED
@@ -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" "1" "
|
4
|
+
.TH "BUNDLE" "1" "December 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\fR \- Ruby Dependency Management
|
@@ -30,29 +30,29 @@ Specify the number of times you wish to attempt network commands
|
|
30
30
|
Print out additional logging information
|
31
31
|
.
|
32
32
|
.SH "BUNDLE COMMANDS"
|
33
|
-
We divide \fBbundle\fR subcommands into primary commands and utilities
|
33
|
+
We divide \fBbundle\fR subcommands into primary commands and utilities:
|
34
34
|
.
|
35
35
|
.SH "PRIMARY COMMANDS"
|
36
36
|
.
|
37
37
|
.TP
|
38
|
-
|
38
|
+
\fBbundle install(1)\fR \fIbundle\-install\.1\.html\fR
|
39
39
|
Install the gems specified by the \fBGemfile\fR or \fBGemfile\.lock\fR
|
40
40
|
.
|
41
41
|
.TP
|
42
|
-
|
42
|
+
\fBbundle update(1)\fR \fIbundle\-update\.1\.html\fR
|
43
43
|
Update dependencies to their latest versions
|
44
44
|
.
|
45
45
|
.TP
|
46
|
-
|
46
|
+
\fBbundle package(1)\fR \fIbundle\-package\.1\.html\fR
|
47
47
|
Package the \.gem files required by your application into the \fBvendor/cache\fR directory
|
48
48
|
.
|
49
49
|
.TP
|
50
|
-
|
51
|
-
Execute a script in the
|
50
|
+
\fBbundle exec(1)\fR \fIbundle\-exec\.1\.html\fR
|
51
|
+
Execute a script in the current bundle
|
52
52
|
.
|
53
53
|
.TP
|
54
|
-
|
55
|
-
Specify and read configuration options for
|
54
|
+
\fBbundle config(1)\fR \fIbundle\-config\.1\.html\fR
|
55
|
+
Specify and read configuration options for Bundler
|
56
56
|
.
|
57
57
|
.TP
|
58
58
|
\fBbundle help(1)\fR
|
@@ -61,66 +61,70 @@ Display detailed help for each subcommand
|
|
61
61
|
.SH "UTILITIES"
|
62
62
|
.
|
63
63
|
.TP
|
64
|
-
\fBbundle add(1)\fR
|
64
|
+
\fBbundle add(1)\fR \fIbundle\-add\.1\.html\fR
|
65
65
|
Add the named gem to the Gemfile and run \fBbundle install\fR
|
66
66
|
.
|
67
67
|
.TP
|
68
|
-
\fBbundle binstubs(1)\fR
|
68
|
+
\fBbundle binstubs(1)\fR \fIbundle\-binstubs\.1\.html\fR
|
69
69
|
Generate binstubs for executables in a gem
|
70
70
|
.
|
71
71
|
.TP
|
72
|
-
\fBbundle check(1)\fR
|
73
|
-
Determine whether the requirements for your application are installed and available to
|
72
|
+
\fBbundle check(1)\fR \fIbundle\-check\.1\.html\fR
|
73
|
+
Determine whether the requirements for your application are installed and available to Bundler
|
74
74
|
.
|
75
75
|
.TP
|
76
|
-
\fBbundle show(1)\fR
|
76
|
+
\fBbundle show(1)\fR \fIbundle\-show\.1\.html\fR
|
77
77
|
Show the source location of a particular gem in the bundle
|
78
78
|
.
|
79
79
|
.TP
|
80
|
-
|
80
|
+
\fBbundle outdated(1)\fR \fIbundle\-outdated\.1\.html\fR
|
81
81
|
Show all of the outdated gems in the current bundle
|
82
82
|
.
|
83
83
|
.TP
|
84
84
|
\fBbundle console(1)\fR
|
85
|
-
Start an IRB session in the
|
85
|
+
Start an IRB session in the current bundle
|
86
86
|
.
|
87
87
|
.TP
|
88
|
-
\fBbundle open(1)\fR
|
88
|
+
\fBbundle open(1)\fR \fIbundle\-open\.1\.html\fR
|
89
89
|
Open an installed gem in the editor
|
90
90
|
.
|
91
91
|
.TP
|
92
|
-
|
92
|
+
\fBbundle lock(1)\fR \fIbundle\-lock\.1\.hmtl\fR
|
93
93
|
Generate a lockfile for your dependencies
|
94
94
|
.
|
95
95
|
.TP
|
96
|
-
\fBbundle viz(1)\fR
|
96
|
+
\fBbundle viz(1)\fR \fIbundle\-viz\.1\.html\fR
|
97
97
|
Generate a visual representation of your dependencies
|
98
98
|
.
|
99
99
|
.TP
|
100
|
-
\fBbundle init(1)\fR
|
100
|
+
\fBbundle init(1)\fR \fIbundle\-init\.1\.html\fR
|
101
101
|
Generate a simple \fBGemfile\fR, placed in the current directory
|
102
102
|
.
|
103
103
|
.TP
|
104
|
-
|
105
|
-
Create a simple gem, suitable for development with
|
104
|
+
\fBbundle gem(1)\fR \fIbundle\-gem\.1\.html\fR
|
105
|
+
Create a simple gem, suitable for development with Bundler
|
106
106
|
.
|
107
107
|
.TP
|
108
|
-
|
108
|
+
\fBbundle platform(1)\fR \fIbundle\-platform\.1\.html\fR
|
109
109
|
Display platform compatibility information
|
110
110
|
.
|
111
111
|
.TP
|
112
|
-
\fBbundle clean(1)\fR
|
113
|
-
Clean up unused gems in your
|
112
|
+
\fBbundle clean(1)\fR \fIbundle\-clean\.1\.html\fR
|
113
|
+
Clean up unused gems in your Bundler directory
|
114
|
+
.
|
115
|
+
.TP
|
116
|
+
\fBbundle doctor(1)\fR \fIbundle\-doctor\.1\.html\fR
|
117
|
+
Display warnings about common problems
|
114
118
|
.
|
115
119
|
.TP
|
116
|
-
\fBbundle
|
117
|
-
|
120
|
+
\fBbundle remove(1)\fR \fIbundle\-remove\.1\.html\fR
|
121
|
+
Removes gems from the Gemfile
|
118
122
|
.
|
119
123
|
.SH "PLUGINS"
|
120
124
|
When running a command that isn\'t listed in PRIMARY COMMANDS or UTILITIES, Bundler will try to find an executable on your path named \fBbundler\-<command>\fR and execute it, passing down any extra arguments to it\.
|
121
125
|
.
|
122
126
|
.SH "OBSOLETE"
|
123
|
-
These commands are obsolete and should no longer be used
|
127
|
+
These commands are obsolete and should no longer be used:
|
124
128
|
.
|
125
129
|
.IP "\(bu" 4
|
126
130
|
\fBbundle cache(1)\fR
|