bundler 1.16.1 → 1.16.2

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.

Files changed (93) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +50 -0
  3. data/README.md +4 -0
  4. data/lib/bundler.rb +2 -2
  5. data/lib/bundler/build_metadata.rb +2 -2
  6. data/lib/bundler/cli.rb +2 -0
  7. data/lib/bundler/cli/check.rb +1 -1
  8. data/lib/bundler/cli/exec.rb +3 -4
  9. data/lib/bundler/cli/gem.rb +5 -2
  10. data/lib/bundler/cli/init.rb +5 -0
  11. data/lib/bundler/cli/install.rb +2 -2
  12. data/lib/bundler/cli/outdated.rb +1 -1
  13. data/lib/bundler/compact_index_client/updater.rb +10 -1
  14. data/lib/bundler/definition.rb +16 -11
  15. data/lib/bundler/fetcher.rb +2 -2
  16. data/lib/bundler/fetcher/index.rb +2 -2
  17. data/lib/bundler/friendly_errors.rb +2 -0
  18. data/lib/bundler/injector.rb +4 -4
  19. data/lib/bundler/installer.rb +12 -4
  20. data/lib/bundler/installer/gem_installer.rb +6 -1
  21. data/lib/bundler/plugin/index.rb +6 -1
  22. data/lib/bundler/resolver/spec_group.rb +0 -1
  23. data/lib/bundler/rubygems_integration.rb +9 -3
  24. data/lib/bundler/runtime.rb +1 -1
  25. data/lib/bundler/source/git.rb +2 -1
  26. data/lib/bundler/source/git/git_proxy.rb +6 -1
  27. data/lib/bundler/source/rubygems.rb +6 -1
  28. data/lib/bundler/spec_set.rb +4 -1
  29. data/lib/bundler/templates/Executable +1 -1
  30. data/lib/bundler/templates/newgem/newgem.gemspec.tt +4 -2
  31. data/lib/bundler/ui/shell.rb +3 -1
  32. data/lib/bundler/version.rb +1 -1
  33. data/man/bundle-add.1 +1 -1
  34. data/man/bundle-add.1.txt +1 -1
  35. data/man/bundle-binstubs.1 +4 -4
  36. data/man/bundle-binstubs.1.txt +4 -4
  37. data/man/bundle-binstubs.ronn +3 -3
  38. data/man/bundle-check.1 +4 -4
  39. data/man/bundle-check.1.txt +6 -5
  40. data/man/bundle-check.ronn +3 -3
  41. data/man/bundle-config.1 +23 -6
  42. data/man/bundle-config.1.txt +25 -15
  43. data/man/bundle-config.ronn +13 -9
  44. data/man/bundle-doctor.1 +44 -0
  45. data/man/bundle-doctor.1.txt +44 -0
  46. data/man/bundle-doctor.ronn +33 -0
  47. data/man/bundle-exec.1 +4 -4
  48. data/man/bundle-exec.1.txt +9 -9
  49. data/man/bundle-exec.ronn +3 -3
  50. data/man/bundle-gem.1 +2 -2
  51. data/man/bundle-gem.1.txt +2 -2
  52. data/man/bundle-gem.ronn +1 -1
  53. data/man/bundle-info.1 +1 -1
  54. data/man/bundle-info.1.txt +1 -1
  55. data/man/bundle-init.1 +9 -4
  56. data/man/bundle-init.1.txt +16 -6
  57. data/man/bundle-init.ronn +15 -4
  58. data/man/bundle-inject.1 +4 -4
  59. data/man/bundle-inject.1.txt +5 -5
  60. data/man/bundle-inject.ronn +3 -3
  61. data/man/bundle-install.1 +2 -2
  62. data/man/bundle-install.1.txt +2 -2
  63. data/man/bundle-install.ronn +1 -1
  64. data/man/bundle-list.1 +1 -1
  65. data/man/bundle-list.1.txt +1 -1
  66. data/man/bundle-lock.1 +2 -2
  67. data/man/bundle-lock.1.txt +2 -2
  68. data/man/bundle-lock.ronn +1 -1
  69. data/man/bundle-outdated.1 +2 -2
  70. data/man/bundle-outdated.1.txt +2 -2
  71. data/man/bundle-outdated.ronn +1 -1
  72. data/man/bundle-package.1 +3 -3
  73. data/man/bundle-package.1.txt +6 -6
  74. data/man/bundle-package.ronn +3 -3
  75. data/man/bundle-pristine.1 +1 -1
  76. data/man/bundle-pristine.1.txt +1 -1
  77. data/man/bundle-show.1 +3 -3
  78. data/man/bundle-show.1.txt +4 -3
  79. data/man/bundle-show.ronn +2 -2
  80. data/man/bundle-update.1 +8 -8
  81. data/man/bundle-update.1.txt +42 -41
  82. data/man/bundle-update.ronn +8 -8
  83. data/man/bundle-viz.1 +2 -2
  84. data/man/bundle-viz.1.txt +3 -2
  85. data/man/bundle-viz.ronn +1 -1
  86. data/man/bundle.1 +26 -26
  87. data/man/bundle.1.txt +26 -26
  88. data/man/bundle.ronn +25 -25
  89. data/man/gemfile.5 +4 -4
  90. data/man/gemfile.5.ronn +3 -3
  91. data/man/gemfile.5.txt +6 -6
  92. data/man/index.txt +1 -0
  93. metadata +6 -3
@@ -10,10 +10,10 @@ SYNOPSIS
10
10
 
11
11
  DESCRIPTION
12
12
  Adds the named gem(s) with their version requirements to the resolved
13
- Gemfile(5).
13
+ [Gemfile(5)][Gemfile(5)].
14
14
 
15
- This command will add the gem to both your Gemfile(5) and Gemfile.lock
16
- if it isn't listed yet.
15
+ This command will add the gem to both your [Gemfile(5)][Gemfile(5)] and
16
+ Gemfile.lock if it isn't listed yet.
17
17
 
18
18
  Example:
19
19
 
@@ -25,8 +25,8 @@ DESCRIPTION
25
25
 
26
26
 
27
27
  This will inject the 'rack' gem with a version greater than 0 in your
28
- Gemfile(5) and Gemfile.lock
28
+ [Gemfile(5)][Gemfile(5)] and Gemfile.lock
29
29
 
30
30
 
31
31
 
32
- February 2017 BUNDLE-INJECT(1)
32
+ February 2018 BUNDLE-INJECT(1)
@@ -8,9 +8,9 @@ bundle-inject(1) -- Add named gem(s) with version requirements to Gemfile
8
8
  ## DESCRIPTION
9
9
 
10
10
  Adds the named gem(s) with their version requirements to the resolved
11
- `Gemfile(5)`.
11
+ [`Gemfile(5)`][Gemfile(5)].
12
12
 
13
- This command will add the gem to both your `Gemfile(5)` and Gemfile.lock if it
13
+ This command will add the gem to both your [`Gemfile(5)`][Gemfile(5)] and Gemfile.lock if it
14
14
  isn't listed yet.
15
15
 
16
16
  Example:
@@ -19,4 +19,4 @@ Example:
19
19
  bundle inject 'rack' '> 0'
20
20
 
21
21
  This will inject the 'rack' gem with a version greater than 0 in your
22
- `Gemfile(5)` and Gemfile.lock
22
+ [`Gemfile(5)`][Gemfile(5)] and Gemfile.lock
@@ -1,7 +1,7 @@
1
1
  .\" generated with Ronn/v0.7.3
2
2
  .\" http://github.com/rtomayko/ronn/tree/0.7.3
3
3
  .
4
- .TH "BUNDLE\-INSTALL" "1" "December 2017" "" ""
4
+ .TH "BUNDLE\-INSTALL" "1" "May 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-install\fR \- Install the dependencies specified in your Gemfile
@@ -291,7 +291,7 @@ Even though \fBactivemerchant\fR declares a very loose dependency that theoretic
291
291
  To explicitly update \fBactionpack\fR, including its dependencies which other gems in the Gemfile(5) still depend on, run \fBbundle update actionpack\fR (see \fBbundle update(1)\fR)\.
292
292
  .
293
293
  .P
294
- \fBSummary\fR: In general, after making a change to the Gemfile(5) , you should first try to run \fBbundle install\fR, which will guarantee that no other gem in the Gemfile(5) is impacted by the change\. If that does not work, run [bundle update(1)][bundle\-update]\.
294
+ \fBSummary\fR: In general, after making a change to the Gemfile(5) , you should first try to run \fBbundle install\fR, which will guarantee that no other gem in the Gemfile(5) is impacted by the change\. If that does not work, run [bundle update(1)][bundle\-update(1)]\.
295
295
  .
296
296
  .SH "SEE ALSO"
297
297
  .
@@ -369,7 +369,7 @@ CONSERVATIVE UPDATING
369
369
  Summary: In general, after making a change to the Gemfile(5) , you
370
370
  should first try to run bundle install, which will guarantee that no
371
371
  other gem in the Gemfile(5) is impacted by the change. If that does not
372
- work, run [bundle update(1)][bundle-update].
372
+ work, run [bundle update(1)][bundle-update(1)].
373
373
 
374
374
  SEE ALSO
375
375
  o Gem install docs
@@ -382,4 +382,4 @@ SEE ALSO
382
382
 
383
383
 
384
384
 
385
- December 2017 BUNDLE-INSTALL(1)
385
+ May 2018 BUNDLE-INSTALL(1)
@@ -361,7 +361,7 @@ which other gems in the Gemfile(5) still depend on, run
361
361
  `Summary`: In general, after making a change to the Gemfile(5) , you
362
362
  should first try to run `bundle install`, which will guarantee that no
363
363
  other gem in the Gemfile(5) is impacted by the change. If that
364
- does not work, run [bundle update(1)][bundle-update].
364
+ does not work, run [bundle update(1)][bundle-update(1)].
365
365
 
366
366
  ## SEE ALSO
367
367
 
@@ -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\-LIST" "1" "August 2017" "" ""
4
+ .TH "BUNDLE\-LIST" "1" "May 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-list\fR \- List all the gems in the bundle
@@ -18,4 +18,4 @@ OPTIONS
18
18
 
19
19
 
20
20
 
21
- August 2017 BUNDLE-LIST(1)
21
+ May 2018 BUNDLE-LIST(1)
@@ -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\-LOCK" "1" "February 2017" "" ""
4
+ .TH "BUNDLE\-LOCK" "1" "February 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
@@ -81,4 +81,4 @@ If you want your bundle to support platforms other than the one you\'re running
81
81
  For a full explanation of gem platforms, see \fBgem help platform\fR\.
82
82
  .
83
83
  .SH "PATCH LEVEL OPTIONS"
84
- See [bundle update(1)][bundle\-update] for details\.
84
+ See [bundle update(1)][bundle\-update(1)] for details\.
@@ -86,8 +86,8 @@ SUPPORTING OTHER PLATFORMS
86
86
  For a full explanation of gem platforms, see gem help platform.
87
87
 
88
88
  PATCH LEVEL OPTIONS
89
- See [bundle update(1)][bundle-update] for details.
89
+ See [bundle update(1)][bundle-update(1)] for details.
90
90
 
91
91
 
92
92
 
93
- February 2017 BUNDLE-LOCK(1)
93
+ February 2018 BUNDLE-LOCK(1)
@@ -91,4 +91,4 @@ For a full explanation of gem platforms, see `gem help platform`.
91
91
 
92
92
  ## PATCH LEVEL OPTIONS
93
93
 
94
- See [bundle update(1)][bundle-update] for details.
94
+ See [bundle update(1)][bundle-update(1)] for details.
@@ -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\-OUTDATED" "1" "July 2017" "" ""
4
+ .TH "BUNDLE\-OUTDATED" "1" "February 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-outdated\fR \- List installed gems with newer versions available
@@ -71,7 +71,7 @@ Only list minor newer versions\.
71
71
  Only list patch newer versions\.
72
72
  .
73
73
  .SH "PATCH LEVEL OPTIONS"
74
- See [bundle update(1)][bundle\-update] for details\.
74
+ See [bundle update(1)][bundle\-update(1)] for details\.
75
75
  .
76
76
  .P
77
77
  One difference between the patch level options in \fBbundle update\fR and here is the \fB\-\-strict\fR option\. \fB\-\-strict\fR was already an option on outdated before the patch level options were added\. \fB\-\-strict\fR wasn\'t altered, and the \fB\-\-update\-strict\fR option on \fBoutdated\fR reflects what \fB\-\-strict\fR does on \fBbundle update\fR\.
@@ -63,7 +63,7 @@ OPTIONS
63
63
  Only list patch newer versions.
64
64
 
65
65
  PATCH LEVEL OPTIONS
66
- See [bundle update(1)][bundle-update] for details.
66
+ See [bundle update(1)][bundle-update(1)] for details.
67
67
 
68
68
  One difference between the patch level options in bundle update and
69
69
  here is the --strict option. --strict was already an option on outdated
@@ -124,4 +124,4 @@ FILTERING OUTPUT
124
124
 
125
125
 
126
126
 
127
- July 2017 BUNDLE-OUTDATED(1)
127
+ February 2018 BUNDLE-OUTDATED(1)
@@ -69,7 +69,7 @@ are up to date, Bundler will exit with a status of 0. Otherwise, it will exit 1.
69
69
 
70
70
  ## PATCH LEVEL OPTIONS
71
71
 
72
- See [bundle update(1)][bundle-update] for details.
72
+ See [bundle update(1)][bundle-update(1)] for details.
73
73
 
74
74
  One difference between the patch level options in `bundle update` and here is the `--strict` option.
75
75
  `--strict` was already an option on outdated before the patch level options were added. `--strict`
@@ -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\-PACKAGE" "1" "September 2017" "" ""
4
+ .TH "BUNDLE\-PACKAGE" "1" "February 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-package\fR \- Package your needed \fB\.gem\fR files into your application
@@ -19,7 +19,7 @@ Since Bundler 1\.2, the \fBbundle package\fR command can also package \fB:git\fR
19
19
  When using gems that have different packages for different platforms, Bundler 1\.8 and newer support caching of gems for other platforms where the Gemfile has been resolved (i\.e\. present in the lockfile) in \fBvendor/cache\fR\. This needs to be enabled via the \fB\-\-all\-platforms\fR option\. This setting will be remembered in your local bundler configuration\.
20
20
  .
21
21
  .SH "REMOTE FETCHING"
22
- By default, if you run [bundle install(1)][bundle\-install] after running [bundle package(1)][bundle\-package], bundler will still connect to \fBrubygems\.org\fR to check whether a platform\-specific gem exists for any of the gems in \fBvendor/cache\fR\.
22
+ By default, if you run \fBbundle install(1)\fR][bundle\-install(1)] after running bundle package(1) \fIbundle\-package\.html\fR, bundler will still connect to \fBrubygems\.org\fR to check whether a platform\-specific gem exists for any of the gems in \fBvendor/cache\fR\.
23
23
  .
24
24
  .P
25
25
  For instance, consider this Gemfile(5):
@@ -52,4 +52,4 @@ If you know for sure that the gems packaged in \fBvendor/cache\fR are appropriat
52
52
  One way to be sure that you have the right platformed versions of all your gems is to run \fBbundle package\fR on an identical machine and check in the gems\. For instance, you can run \fBbundle package\fR on an identical staging box during your staging process, and check in the \fBvendor/cache\fR before deploying to production\.
53
53
  .
54
54
  .P
55
- By default, [bundle package(1)][bundle\-package] fetches and also installs the gems to the default location\. To package the dependencies to \fBvendor/cache\fR without installing them to the local install location, you can run \fBbundle package \-\-no\-install\fR\.
55
+ By default, bundle package(1) \fIbundle\-package\.html\fR fetches and also installs the gems to the default location\. To package the dependencies to \fBvendor/cache\fR without installing them to the local install location, you can run \fBbundle package \-\-no\-install\fR\.
@@ -28,10 +28,10 @@ SUPPORT FOR MULTIPLE PLATFORMS
28
28
  This setting will be remembered in your local bundler configuration.
29
29
 
30
30
  REMOTE FETCHING
31
- By default, if you run [bundle install(1)][bundle-install] after run-
32
- ning [bundle package(1)][bundle-package], bundler will still connect to
33
- rubygems.org to check whether a platform-specific gem exists for any of
34
- the gems in vendor/cache.
31
+ By default, if you run bundle install(1)][bundle-install(1)] after run-
32
+ ning bundle package(1) bundle-package.html, bundler will still connect
33
+ to rubygems.org to check whether a platform-specific gem exists for any
34
+ of the gems in vendor/cache.
35
35
 
36
36
  For instance, consider this Gemfile(5):
37
37
 
@@ -69,11 +69,11 @@ REMOTE FETCHING
69
69
  staging box during your staging process, and check in the vendor/cache
70
70
  before deploying to production.
71
71
 
72
- By default, [bundle package(1)][bundle-package] fetches and also
72
+ By default, bundle package(1) bundle-package.html fetches and also
73
73
  installs the gems to the default location. To package the dependencies
74
74
  to vendor/cache without installing them to the local install location,
75
75
  you can run bundle package --no-install.
76
76
 
77
77
 
78
78
 
79
- September 2017 BUNDLE-PACKAGE(1)
79
+ February 2018 BUNDLE-PACKAGE(1)
@@ -27,8 +27,8 @@ in your local bundler configuration.
27
27
 
28
28
  ## REMOTE FETCHING
29
29
 
30
- By default, if you run [bundle install(1)][bundle-install] after running
31
- [bundle package(1)][bundle-package], bundler will still connect to `rubygems.org`
30
+ By default, if you run `bundle install(1)`][bundle-install(1)] after running
31
+ [bundle package(1)][bundle-package(1)], bundler will still connect to `rubygems.org`
32
32
  to check whether a platform-specific gem exists for any of the gems
33
33
  in `vendor/cache`.
34
34
 
@@ -66,7 +66,7 @@ machine and check in the gems. For instance, you can run
66
66
  staging process, and check in the `vendor/cache` before
67
67
  deploying to production.
68
68
 
69
- By default, [bundle package(1)][bundle-package] fetches and also
69
+ By default, [bundle package(1)][bundle-package(1)] fetches and also
70
70
  installs the gems to the default location. To package the
71
71
  dependencies to `vendor/cache` without installing them to the
72
72
  local install location, you can run `bundle package --no-install`.
@@ -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\-PRISTINE" "1" "August 2017" "" ""
4
+ .TH "BUNDLE\-PRISTINE" "1" "January 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
@@ -41,4 +41,4 @@ DESCRIPTION
41
41
 
42
42
 
43
43
 
44
- August 2017 BUNDLE-PRISTINE(1)
44
+ January 2018 BUNDLE-PRISTINE(1)
@@ -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\-SHOW" "1" "February 2017" "" ""
4
+ .TH "BUNDLE\-SHOW" "1" "February 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-show\fR \- Shows all the gems in your bundle, or the path to a gem
@@ -10,7 +10,7 @@
10
10
  \fBbundle show\fR [GEM] [\-\-paths]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
- 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\.
13
+ 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)]\.
14
14
  .
15
15
  .P
16
16
  Calling show with [GEM] will list the exact location of that gem on your machine\.
@@ -19,5 +19,5 @@ Calling show with [GEM] will list the exact location of that gem on your machine
19
19
  .
20
20
  .TP
21
21
  \fB\-\-paths\fR
22
- List the paths of all gems that are required by your \fBGemfile(5)\fR\.
22
+ List the paths of all gems that are required by your [\fBGemfile(5)\fR][Gemfile(5)]\.
23
23
 
@@ -10,16 +10,17 @@ SYNOPSIS
10
10
 
11
11
  DESCRIPTION
12
12
  Without the [GEM] option, show will print a list of the names and ver-
13
- sions of all gems that are required by your Gemfile(5).
13
+ sions of all gems that are required by your [Gemfile(5)][Gemfile(5)].
14
14
 
15
15
  Calling show with [GEM] will list the exact location of that gem on
16
16
  your machine.
17
17
 
18
18
  OPTIONS
19
19
  --paths
20
- List the paths of all gems that are required by your Gemfile(5).
20
+ List the paths of all gems that are required by your [Gem-
21
+ file(5)][Gemfile(5)].
21
22
 
22
23
 
23
24
 
24
25
 
25
- February 2017 BUNDLE-SHOW(1)
26
+ February 2018 BUNDLE-SHOW(1)
@@ -9,7 +9,7 @@ bundle-show(1) -- Shows all the gems in your bundle, or the path to a gem
9
9
  ## DESCRIPTION
10
10
 
11
11
  Without the [GEM] option, `show` will print a list of the names and versions of
12
- all gems that are required by your `Gemfile(5)`.
12
+ all gems that are required by your [`Gemfile(5)`][Gemfile(5)].
13
13
 
14
14
  Calling show with [GEM] will list the exact location of that gem on your
15
15
  machine.
@@ -17,4 +17,4 @@ machine.
17
17
  ## OPTIONS
18
18
 
19
19
  * `--paths`:
20
- List the paths of all gems that are required by your `Gemfile(5)`.
20
+ List the paths of all gems that are required by your [`Gemfile(5)`][Gemfile(5)].
@@ -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\-UPDATE" "1" "July 2017" "" ""
4
+ .TH "BUNDLE\-UPDATE" "1" "May 2018" "" ""
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBbundle\-update\fR \- Update your gems to the latest available versions
@@ -10,7 +10,7 @@
10
10
  \fBbundle update\fR \fI*gems\fR [\-\-group=NAME] [\-\-source=NAME] [\-\-local] [\-\-ruby] [\-\-bundler[=VERSION]] [\-\-full\-index] [\-\-jobs=JOBS] [\-\-quiet] [\-\-force] [\-\-patch|\-\-minor|\-\-major] [\-\-strict] [\-\-conservative]
11
11
  .
12
12
  .SH "DESCRIPTION"
13
- Update the gems specified (all gems, if none are specified), ignoring the previously installed gems specified in the \fBGemfile\.lock\fR\. In general, you should use [bundle install(1)][bundle\-install] to install the same exact gems and versions across machines\.
13
+ Update the gems specified (all gems, if none are specified), ignoring the previously installed gems specified in the \fBGemfile\.lock\fR\. In general, you should use [bundle install(1)][bundle\-install(1)] to install the same exact gems and versions across machines\.
14
14
  .
15
15
  .P
16
16
  You would use \fBbundle update\fR to explicitly update the version of a gem\.
@@ -97,7 +97,7 @@ gem "nokogiri"
97
97
  .IP "" 0
98
98
  .
99
99
  .P
100
- When you run [bundle install(1)][bundle\-install] the first time, bundler will resolve all of the dependencies, all the way down, and install what you need:
100
+ When you run [bundle install(1)][bundle\-install(1)] the first time, bundler will resolve all of the dependencies, all the way down, and install what you need:
101
101
  .
102
102
  .IP "" 4
103
103
  .
@@ -140,10 +140,10 @@ Use `bundle show [gemname]` to see where a bundled gem is installed\.
140
140
  .IP "" 0
141
141
  .
142
142
  .P
143
- As you can see, even though you have two gems in the Gemfile(5), your application needs 26 different gems in order to run\. Bundler remembers the exact versions it installed in \fBGemfile\.lock\fR\. The next time you run [bundle install(1)][bundle\-install], bundler skips the dependency resolution and installs the same gems as it installed last time\.
143
+ As you can see, even though you have two gems in the Gemfile(5), your application needs 26 different gems in order to run\. Bundler remembers the exact versions it installed in \fBGemfile\.lock\fR\. The next time you run [bundle install(1)][bundle\-install(1)], bundler skips the dependency resolution and installs the same gems as it installed last time\.
144
144
  .
145
145
  .P
146
- After checking in the \fBGemfile\.lock\fR into version control and cloning it on another machine, running [bundle install(1)][bundle\-install] will \fIstill\fR install the gems that you installed last time\. You don\'t need to worry that a new release of \fBerubis\fR or \fBmail\fR changes the gems you use\.
146
+ After checking in the \fBGemfile\.lock\fR into version control and cloning it on another machine, running [bundle install(1)][bundle\-install(1)] will \fIstill\fR install the gems that you installed last time\. You don\'t need to worry that a new release of \fBerubis\fR or \fBmail\fR changes the gems you use\.
147
147
  .
148
148
  .P
149
149
  However, from time to time, you might want to update the gems you are using to the newest versions that still match the gems in your Gemfile(5)\.
@@ -204,10 +204,10 @@ In this case, the two gems have their own set of dependencies, but they share \f
204
204
  In short, by default, when you update a gem using \fBbundle update\fR, bundler will update all dependencies of that gem, including those that are also dependencies of another gem\.
205
205
  .
206
206
  .P
207
- To prevent updating shared dependencies, prior to version 1\.14 the only option was the \fBCONSERVATIVE UPDATING\fR behavior in [bundle install(1)][bundle\-install]:
207
+ To prevent updating shared dependencies, prior to version 1\.14 the only option was the \fBCONSERVATIVE UPDATING\fR behavior in [bundle install(1)][bundle\-install(1)]:
208
208
  .
209
209
  .P
210
- In this scenario, updating the \fBthin\fR version manually in the Gemfile(5), and then running [bundle install(1)][bundle\-install] will only update \fBdaemons\fR and \fBeventmachine\fR, but not \fBrack\fR\. For more information, see the \fBCONSERVATIVE UPDATING\fR section of [bundle install(1)][bundle\-install]\.
210
+ In this scenario, updating the \fBthin\fR version manually in the Gemfile(5), and then running [bundle install(1)][bundle\-install(1)] will only update \fBdaemons\fR and \fBeventmachine\fR, but not \fBrack\fR\. For more information, see the \fBCONSERVATIVE UPDATING\fR section of [bundle install(1)][bundle\-install(1)]\.
211
211
  .
212
212
  .P
213
213
  Starting with 1\.14, specifying the \fB\-\-conservative\fR option will also prevent shared dependencies from being updated\.
@@ -375,7 +375,7 @@ Make sure to check the updated \fBGemfile\.lock\fR into version control
375
375
  $ git add Gemfile\.lock
376
376
  .
377
377
  .IP "\(bu" 4
378
- If [bundle install(1)][bundle\-install] reports a conflict, manually update the specific gems that you changed in the Gemfile(5)
378
+ If [bundle install(1)][bundle\-install(1)] reports a conflict, manually update the specific gems that you changed in the Gemfile(5)
379
379
  .
380
380
  .IP
381
381
  $ bundle update rails thin
@@ -13,8 +13,8 @@ SYNOPSIS
13
13
  DESCRIPTION
14
14
  Update the gems specified (all gems, if none are specified), ignoring
15
15
  the previously installed gems specified in the Gemfile.lock. In gen-
16
- eral, you should use [bundle install(1)][bundle-install] to install the
17
- same exact gems and versions across machines.
16
+ eral, you should use [bundle install(1)][bundle-install(1)] 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
 
@@ -91,7 +91,7 @@ UPDATING ALL GEMS
91
91
 
92
92
 
93
93
 
94
- When you run [bundle install(1)][bundle-install] the first time,
94
+ When you run [bundle install(1)][bundle-install(1)] the first time,
95
95
  bundler will resolve all of the dependencies, all the way down, and
96
96
  install what you need:
97
97
 
@@ -134,11 +134,11 @@ UPDATING ALL GEMS
134
134
  As you can see, even though you have two gems in the Gemfile(5), your
135
135
  application needs 26 different gems in order to run. Bundler remembers
136
136
  the exact versions it installed in Gemfile.lock. The next time you run
137
- [bundle install(1)][bundle-install], bundler skips the dependency reso-
138
- lution and installs the same gems as it installed last time.
137
+ [bundle install(1)][bundle-install(1)], bundler skips the dependency
138
+ resolution and installs the same gems as it installed last time.
139
139
 
140
140
  After checking in the Gemfile.lock into version control and cloning it
141
- on another machine, running [bundle install(1)][bundle-install] will
141
+ on another machine, running [bundle install(1)][bundle-install(1)] will
142
142
  still install the gems that you installed last time. You don't need to
143
143
  worry that a new release of erubis or mail changes the gems you use.
144
144
 
@@ -208,19 +208,20 @@ OVERLAPPING DEPENDENCIES
208
208
 
209
209
  To prevent updating shared dependencies, prior to version 1.14 the only
210
210
  option was the CONSERVATIVE UPDATING behavior in [bundle
211
- install(1)][bundle-install]:
211
+ install(1)][bundle-install(1)]:
212
212
 
213
213
  In this scenario, updating the thin version manually in the Gemfile(5),
214
- and then running [bundle install(1)][bundle-install] will only update
215
- daemons and eventmachine, but not rack. For more information, see the
216
- CONSERVATIVE UPDATING section of [bundle install(1)][bundle-install].
214
+ and then running [bundle install(1)][bundle-install(1)] will only
215
+ update daemons and eventmachine, but not rack. For more information,
216
+ see the CONSERVATIVE UPDATING section of [bundle install(1)][bun-
217
+ dle-install(1)].
217
218
 
218
219
  Starting with 1.14, specifying the --conservative option will also pre-
219
220
  vent shared dependencies from being updated.
220
221
 
221
222
  PATCH LEVEL OPTIONS
222
- Version 1.14 introduced 4 patch-level options that will influence how
223
- gem versions are resolved. One of the following options can be used:
223
+ Version 1.14 introduced 4 patch-level options that will influence how
224
+ gem versions are resolved. One of the following options can be used:
224
225
  --patch, --minor or --major. --strict can be added to further influence
225
226
  resolution.
226
227
 
@@ -237,41 +238,41 @@ PATCH LEVEL OPTIONS
237
238
  Do not allow any gem to be updated past latest --patch | --minor
238
239
  | --major.
239
240
 
240
- When Bundler is resolving what versions to use to satisfy declared
241
- requirements in the Gemfile or in parent gems, it looks up all avail-
241
+ When Bundler is resolving what versions to use to satisfy declared
242
+ requirements in the Gemfile or in parent gems, it looks up all avail-
242
243
  able versions, filters out any versions that don't satisfy the require-
243
244
  ment, and then, by default, sorts them from newest to oldest, consider-
244
245
  ing them in that order.
245
246
 
246
- Providing one of the patch level options (e.g. --patch) changes the
247
- sort order of the satisfying versions, causing Bundler to consider the
247
+ Providing one of the patch level options (e.g. --patch) changes the
248
+ sort order of the satisfying versions, causing Bundler to consider the
248
249
  latest --patch or --minor version available before other versions. Note
249
250
  that versions outside the stated patch level could still be resolved to
250
251
  if necessary to find a suitable dependency graph.
251
252
 
252
- For example, if gem 'foo' is locked at 1.0.2, with no gem requirement
253
- defined in the Gemfile, and versions 1.0.3, 1.0.4, 1.1.0, 1.1.1, 2.0.0
253
+ For example, if gem 'foo' is locked at 1.0.2, with no gem requirement
254
+ defined in the Gemfile, and versions 1.0.3, 1.0.4, 1.1.0, 1.1.1, 2.0.0
254
255
  all exist, the default order of preference by default (--major) will be
255
256
  "2.0.0, 1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2".
256
257
 
257
- If the --patch option is used, the order of preference will change to
258
+ If the --patch option is used, the order of preference will change to
258
259
  "1.0.4, 1.0.3, 1.0.2, 1.1.1, 1.1.0, 2.0.0".
259
260
 
260
- If the --minor option is used, the order of preference will change to
261
+ If the --minor option is used, the order of preference will change to
261
262
  "1.1.1, 1.1.0, 1.0.4, 1.0.3, 1.0.2, 2.0.0".
262
263
 
263
- Combining the --strict option with any of the patch level options will
264
- remove any versions beyond the scope of the patch level option, to
264
+ Combining the --strict option with any of the patch level options will
265
+ remove any versions beyond the scope of the patch level option, to
265
266
  ensure that no gem is updated that far.
266
267
 
267
- To continue the previous example, if both --patch and --strict options
268
+ To continue the previous example, if both --patch and --strict options
268
269
  are used, the available versions for resolution would be "1.0.4, 1.0.3,
269
- 1.0.2". If --minor and --strict are used, it would be "1.1.1, 1.1.0,
270
+ 1.0.2". If --minor and --strict are used, it would be "1.1.1, 1.1.0,
270
271
  1.0.4, 1.0.3, 1.0.2".
271
272
 
272
- Gem requirements as defined in the Gemfile will still be the first
273
+ Gem requirements as defined in the Gemfile will still be the first
273
274
  determining factor for what versions are available. If the gem require-
274
- ment for foo in the Gemfile is '~> 1.0', that will accomplish the same
275
+ ment for foo in the Gemfile is '~> 1.0', that will accomplish the same
275
276
  thing as providing the --minor and --strict options.
276
277
 
277
278
  PATCH LEVEL EXAMPLES
@@ -320,26 +321,26 @@ PATCH LEVEL EXAMPLES
320
321
 
321
322
 
322
323
 
323
- In case 1, bar is upgraded to 2.1.1, a minor version increase, because
324
+ In case 1, bar is upgraded to 2.1.1, a minor version increase, because
324
325
  the dependency from foo 1.4.5 required it.
325
326
 
326
- In case 2, only foo is requested to be unlocked, but bar is also
327
- allowed to move because it's not a declared dependency in the Gemfile.
327
+ In case 2, only foo is requested to be unlocked, but bar is also
328
+ allowed to move because it's not a declared dependency in the Gemfile.
328
329
 
329
- In case 3, bar goes up a whole major release, because a minor increase
330
- is preferred now for foo, and when it goes to 1.5.1, it requires 3.0.0
330
+ In case 3, bar goes up a whole major release, because a minor increase
331
+ is preferred now for foo, and when it goes to 1.5.1, it requires 3.0.0
331
332
  of bar.
332
333
 
333
334
  In case 4, foo is preferred up to a minor version, but 1.5.1 won't work
334
- because the --strict flag removes bar 3.0.0 from consideration since
335
+ because the --strict flag removes bar 3.0.0 from consideration since
335
336
  it's a major increment.
336
337
 
337
- In case 5, both foo and bar have any minor or major increments removed
338
- from consideration because of the --strict flag, so the most they can
338
+ In case 5, both foo and bar have any minor or major increments removed
339
+ from consideration because of the --strict flag, so the most they can
339
340
  move is up to 1.4.4 and 2.0.4.
340
341
 
341
342
  RECOMMENDED WORKFLOW
342
- In general, when working with an application managed with bundler, you
343
+ In general, when working with an application managed with bundler, you
343
344
  should use the following workflow:
344
345
 
345
346
  o After you create your Gemfile(5) for the first time, run
@@ -350,7 +351,7 @@ RECOMMENDED WORKFLOW
350
351
 
351
352
  $ git add Gemfile.lock
352
353
 
353
- o When checking out this repository on another development machine,
354
+ o When checking out this repository on another development machine,
354
355
  run
355
356
 
356
357
  $ bundle install
@@ -359,7 +360,7 @@ RECOMMENDED WORKFLOW
359
360
 
360
361
  $ bundle install --deployment
361
362
 
362
- o After changing the Gemfile(5) to reflect a new or update depen-
363
+ o After changing the Gemfile(5) to reflect a new or update depen-
363
364
  dency, run
364
365
 
365
366
  $ bundle install
@@ -368,12 +369,12 @@ RECOMMENDED WORKFLOW
368
369
 
369
370
  $ git add Gemfile.lock
370
371
 
371
- o If [bundle install(1)][bundle-install] reports a conflict, manually
372
- update the specific gems that you changed in the Gemfile(5)
372
+ o If [bundle install(1)][bundle-install(1)] reports a conflict, manu-
373
+ ally update the specific gems that you changed in the Gemfile(5)
373
374
 
374
375
  $ bundle update rails thin
375
376
 
376
- o If you want to update all the gems to the latest possible versions
377
+ o If you want to update all the gems to the latest possible versions
377
378
  that still match the gems listed in the Gemfile(5), run
378
379
 
379
380
  $ bundle update
@@ -383,4 +384,4 @@ RECOMMENDED WORKFLOW
383
384
 
384
385
 
385
386
 
386
- July 2017 BUNDLE-UPDATE(1)
387
+ May 2018 BUNDLE-UPDATE(1)