bundler 1.16.2 → 1.16.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 +4 -4
- data/CHANGELOG.md +21 -0
- data/lib/bundler.rb +8 -5
- data/lib/bundler/build_metadata.rb +2 -2
- data/lib/bundler/current_ruby.rb +1 -0
- data/lib/bundler/installer/gem_installer.rb +5 -3
- data/lib/bundler/process_lock.rb +1 -1
- data/lib/bundler/shared_helpers.rb +13 -2
- data/lib/bundler/source/rubygems.rb +6 -2
- data/lib/bundler/source/rubygems/remote.rb +4 -1
- data/lib/bundler/templates/newgem/travis.yml.tt +2 -0
- data/lib/bundler/version.rb +1 -1
- data/man/bundle-add.1 +1 -1
- data/man/bundle-add.1.txt +1 -1
- data/man/bundle-binstubs.1 +2 -2
- data/man/bundle-binstubs.1.txt +2 -2
- data/man/bundle-binstubs.ronn +1 -1
- data/man/bundle-check.1 +1 -1
- data/man/bundle-check.1.txt +1 -1
- data/man/bundle-clean.1 +1 -1
- data/man/bundle-clean.1.txt +1 -1
- data/man/bundle-config.1 +4 -4
- data/man/bundle-config.1.txt +11 -11
- data/man/bundle-config.ronn +4 -4
- data/man/bundle-doctor.1 +1 -1
- data/man/bundle-doctor.1.txt +1 -1
- data/man/bundle-exec.1 +3 -3
- data/man/bundle-exec.1.txt +7 -7
- data/man/bundle-exec.ronn +2 -2
- 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 +1 -1
- data/man/bundle-init.1.txt +1 -1
- data/man/bundle-inject.1 +1 -1
- data/man/bundle-inject.1.txt +1 -1
- data/man/bundle-install.1 +2 -2
- data/man/bundle-install.1.txt +2 -2
- data/man/bundle-install.ronn +1 -1
- data/man/bundle-list.1 +1 -1
- data/man/bundle-list.1.txt +1 -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 +2 -2
- data/man/bundle-outdated.1.txt +2 -2
- data/man/bundle-outdated.ronn +1 -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-show.1 +1 -1
- data/man/bundle-show.1.txt +1 -1
- data/man/bundle-update.1 +8 -8
- data/man/bundle-update.1.txt +62 -61
- data/man/bundle-update.ronn +8 -8
- data/man/bundle-viz.1 +2 -2
- data/man/bundle-viz.1.txt +3 -3
- data/man/bundle-viz.ronn +1 -1
- data/man/bundle.1 +19 -19
- data/man/bundle.1.txt +19 -19
- data/man/bundle.ronn +18 -18
- data/man/gemfile.5 +9 -3
- data/man/gemfile.5.ronn +15 -2
- data/man/gemfile.5.txt +36 -23
- metadata +3 -3
data/man/bundle-exec.1.txt
CHANGED
@@ -14,8 +14,8 @@ DESCRIPTION
|
|
14
14
|
|
15
15
|
Essentially, if you would normally have run something like rspec
|
16
16
|
spec/my_spec.rb, and you want to use the gems specified in the [Gem-
|
17
|
-
file(5)][Gemfile(5)] and installed via
|
18
|
-
dle-install
|
17
|
+
file(5)][Gemfile(5)] and installed via bundle install(1) bun-
|
18
|
+
dle-install.1.html, you should run bundle exec rspec spec/my_spec.rb.
|
19
19
|
|
20
20
|
Note that bundle exec does not require that an executable is available
|
21
21
|
on your shell's $PATH.
|
@@ -27,10 +27,10 @@ OPTIONS
|
|
27
27
|
of passing all file descriptors to the new process.
|
28
28
|
|
29
29
|
BUNDLE INSTALL --BINSTUBS
|
30
|
-
If you use the --binstubs flag in
|
31
|
-
dle-install
|
32
|
-
defaults to app_root/bin)
|
33
|
-
from gems in the bundle.
|
30
|
+
If you use the --binstubs flag in bundle install(1) bun-
|
31
|
+
dle-install.1.html, Bundler will automatically create a directory
|
32
|
+
(which defaults to app_root/bin) containing all of the executables
|
33
|
+
available from gems in the bundle.
|
34
34
|
|
35
35
|
After using --binstubs, bin/rspec spec/my_spec.rb is identical to bun-
|
36
36
|
dle exec rspec spec/my_spec.rb.
|
@@ -175,4 +175,4 @@ RUBYGEMS PLUGINS
|
|
175
175
|
|
176
176
|
|
177
177
|
|
178
|
-
|
178
|
+
July 2018 BUNDLE-EXEC(1)
|
data/man/bundle-exec.ronn
CHANGED
@@ -12,7 +12,7 @@ This command executes the command, making all gems specified in the
|
|
12
12
|
|
13
13
|
Essentially, if you would normally have run something like
|
14
14
|
`rspec spec/my_spec.rb`, and you want to use the gems specified
|
15
|
-
in the [`Gemfile(5)`][Gemfile(5)] and installed via [bundle install(1)]
|
15
|
+
in the [`Gemfile(5)`][Gemfile(5)] and installed via [bundle install(1)](bundle-install.1.html), you
|
16
16
|
should run `bundle exec rspec spec/my_spec.rb`.
|
17
17
|
|
18
18
|
Note that `bundle exec` does not require that an executable is
|
@@ -27,7 +27,7 @@ available on your shell's `$PATH`.
|
|
27
27
|
|
28
28
|
## BUNDLE INSTALL --BINSTUBS
|
29
29
|
|
30
|
-
If you use the `--binstubs` flag in [bundle install(1)]
|
30
|
+
If you use the `--binstubs` flag in [bundle install(1)](bundle-install.1.html), Bundler will
|
31
31
|
automatically create a directory (which defaults to `app_root/bin`)
|
32
32
|
containing all of the executables available from gems in the bundle.
|
33
33
|
|
data/man/bundle-gem.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\-GEM" "1" "
|
4
|
+
.TH "BUNDLE\-GEM" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-gem\fR \- Generate a project skeleton for creating a rubygem
|
@@ -74,7 +74,7 @@ Open the resulting GEM_NAME\.gemspec in EDITOR, or the default editor if not spe
|
|
74
74
|
.SH "SEE ALSO"
|
75
75
|
.
|
76
76
|
.IP "\(bu" 4
|
77
|
-
|
77
|
+
bundle config(1) \fIbundle\-config\.1\.html\fR
|
78
78
|
.
|
79
79
|
.IP "" 0
|
80
80
|
|
data/man/bundle-gem.1.txt
CHANGED
data/man/bundle-gem.ronn
CHANGED
data/man/bundle-info.1
CHANGED
data/man/bundle-info.1.txt
CHANGED
data/man/bundle-init.1
CHANGED
data/man/bundle-init.1.txt
CHANGED
data/man/bundle-inject.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\-INJECT" "1" "
|
4
|
+
.TH "BUNDLE\-INJECT" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-inject\fR \- Add named gem(s) with version requirements to Gemfile
|
data/man/bundle-inject.1.txt
CHANGED
data/man/bundle-install.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\-INSTALL" "1" "
|
4
|
+
.TH "BUNDLE\-INSTALL" "1" "July 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
|
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) \fIbundle\-update\.1\.html\fR\.
|
295
295
|
.
|
296
296
|
.SH "SEE ALSO"
|
297
297
|
.
|
data/man/bundle-install.1.txt
CHANGED
@@ -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
|
372
|
+
work, run bundle update(1) bundle-update.1.html.
|
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
|
-
|
385
|
+
July 2018 BUNDLE-INSTALL(1)
|
data/man/bundle-install.ronn
CHANGED
@@ -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)]
|
364
|
+
does not work, run [bundle update(1)](bundle-update.1.html).
|
365
365
|
|
366
366
|
## SEE ALSO
|
367
367
|
|
data/man/bundle-list.1
CHANGED
data/man/bundle-list.1.txt
CHANGED
data/man/bundle-lock.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\-LOCK" "1" "
|
4
|
+
.TH "BUNDLE\-LOCK" "1" "July 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
|
84
|
+
See bundle update(1) \fIbundle\-update\.1\.html\fR for details\.
|
data/man/bundle-lock.1.txt
CHANGED
@@ -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
|
89
|
+
See bundle update(1) bundle-update.1.html for details.
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
-
|
93
|
+
July 2018 BUNDLE-LOCK(1)
|
data/man/bundle-lock.ronn
CHANGED
data/man/bundle-open.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\-OPEN" "1" "
|
4
|
+
.TH "BUNDLE\-OPEN" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-open\fR \- Opens the source directory for a gem in your bundle
|
data/man/bundle-open.1.txt
CHANGED
data/man/bundle-outdated.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\-OUTDATED" "1" "
|
4
|
+
.TH "BUNDLE\-OUTDATED" "1" "July 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
|
74
|
+
See bundle update(1) \fIbundle\-update\.1\.html\fR 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\.
|
data/man/bundle-outdated.1.txt
CHANGED
@@ -63,7 +63,7 @@ OPTIONS
|
|
63
63
|
Only list patch newer versions.
|
64
64
|
|
65
65
|
PATCH LEVEL OPTIONS
|
66
|
-
See
|
66
|
+
See bundle update(1) bundle-update.1.html 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
|
-
|
127
|
+
July 2018 BUNDLE-OUTDATED(1)
|
data/man/bundle-outdated.ronn
CHANGED
@@ -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)]
|
72
|
+
See [bundle update(1)](bundle-update.1.html) 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`
|
data/man/bundle-package.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\-PACKAGE" "1" "
|
4
|
+
.TH "BUNDLE\-PACKAGE" "1" "July 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 \fBbundle install(1)\fR]
|
22
|
+
By default, if you run \fBbundle install(1)\fR](bundle\-install\.1\.html) after running bundle package(1) \fIbundle\-package\.1\.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) \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\.
|
55
|
+
By default, bundle package(1) \fIbundle\-package\.1\.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\.
|
data/man/bundle-package.1.txt
CHANGED
@@ -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
|
32
|
-
|
33
|
-
to rubygems.org to check whether a platform-specific gem exists
|
34
|
-
of the gems in vendor/cache.
|
31
|
+
By default, if you run bundle install(1)](bundle-install.1.html) after
|
32
|
+
running bundle package(1) bundle-package.1.html, bundler will still
|
33
|
+
connect to rubygems.org to check whether a platform-specific gem exists
|
34
|
+
for any 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
|
72
|
+
By default, bundle package(1) bundle-package.1.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
|
-
|
79
|
+
July 2018 BUNDLE-PACKAGE(1)
|
data/man/bundle-package.ronn
CHANGED
@@ -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)`]
|
31
|
-
[bundle package(1)]
|
30
|
+
By default, if you run `bundle install(1)`](bundle-install.1.html) after running
|
31
|
+
[bundle package(1)](bundle-package.1.html), 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)]
|
69
|
+
By default, [bundle package(1)](bundle-package.1.html) 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`.
|
data/man/bundle-platform.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\-PLATFORM" "1" "
|
4
|
+
.TH "BUNDLE\-PLATFORM" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-platform\fR \- Displays platform compatibility information
|
data/man/bundle-platform.1.txt
CHANGED
data/man/bundle-pristine.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\-PRISTINE" "1" "
|
4
|
+
.TH "BUNDLE\-PRISTINE" "1" "July 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-pristine\fR \- Restores installed gems to their pristine condition
|
data/man/bundle-pristine.1.txt
CHANGED
data/man/bundle-show.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\-SHOW" "1" "
|
4
|
+
.TH "BUNDLE\-SHOW" "1" "July 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
|
data/man/bundle-show.1.txt
CHANGED
data/man/bundle-update.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\-UPDATE" "1" "
|
4
|
+
.TH "BUNDLE\-UPDATE" "1" "July 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
|
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) \fIbundle\-install\.1\.html\fR 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
|
100
|
+
When you run bundle install(1) \fIbundle\-install\.1\.html\fR 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
|
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) \fIbundle\-install\.1\.html\fR, 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
|
146
|
+
After checking in the \fBGemfile\.lock\fR into version control and cloning it on another machine, running bundle install(1) \fIbundle\-install\.1\.html\fR 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
|
207
|
+
To prevent updating shared dependencies, prior to version 1\.14 the only option was the \fBCONSERVATIVE UPDATING\fR behavior in bundle install(1) \fIbundle\-install\.1\.html\fR:
|
208
208
|
.
|
209
209
|
.P
|
210
|
-
In this scenario, updating the \fBthin\fR version manually in the Gemfile(5), and then running
|
210
|
+
In this scenario, updating the \fBthin\fR version manually in the Gemfile(5), and then running bundle install(1) \fIbundle\-install\.1\.html\fR 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) \fIbundle\-install\.1\.html\fR\.
|
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
|
378
|
+
If bundle install(1) \fIbundle\-install\.1\.html\fR 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
|