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-open.1.txt
CHANGED
data/man/bundle-outdated.1
CHANGED
@@ -1,13 +1,13 @@
|
|
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" "December 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-outdated\fR \- List installed gems with newer versions available
|
8
8
|
.
|
9
9
|
.SH "SYNOPSIS"
|
10
|
-
\fBbundle outdated\fR [GEM] [\-\-local] [\-\-pre] [\-\-source] [\-\-strict] [\-\-parseable | \-\-porcelain] [\-\-group=GROUP] [\-\-groups] [\-\-update\-strict] [\-\-patch|\-\-minor|\-\-major] [\-\-filter\-major] [\-\-filter\-minor] [\-\-filter\-patch]
|
10
|
+
\fBbundle outdated\fR [GEM] [\-\-local] [\-\-pre] [\-\-source] [\-\-strict] [\-\-parseable | \-\-porcelain] [\-\-group=GROUP] [\-\-groups] [\-\-update\-strict] [\-\-patch|\-\-minor|\-\-major] [\-\-filter\-major] [\-\-filter\-minor] [\-\-filter\-patch] [\-\-only\-explicit]
|
11
11
|
.
|
12
12
|
.SH "DESCRIPTION"
|
13
13
|
Outdated lists the names and versions of gems that have a newer version available in the given source\. Calling outdated with [GEM [GEM]] will only check for newer versions of the given gems\. Prerelease gems are ignored by default\. If your gems are up to date, Bundler will exit with a status of 0\. Otherwise, it will exit 1\.
|
@@ -70,8 +70,12 @@ Only list minor newer versions\.
|
|
70
70
|
\fB\-\-filter\-patch\fR
|
71
71
|
Only list patch newer versions\.
|
72
72
|
.
|
73
|
+
.TP
|
74
|
+
\fB\-\-only\-explicit\fR
|
75
|
+
Only list gems specified in your Gemfile, not their dependencies\.
|
76
|
+
.
|
73
77
|
.SH "PATCH LEVEL OPTIONS"
|
74
|
-
See
|
78
|
+
See bundle update(1) \fIbundle\-update\.1\.html\fR for details\.
|
75
79
|
.
|
76
80
|
.P
|
77
81
|
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
@@ -9,7 +9,7 @@ SYNOPSIS
|
|
9
9
|
bundle outdated [GEM] [--local] [--pre] [--source] [--strict]
|
10
10
|
[--parseable | --porcelain] [--group=GROUP] [--groups]
|
11
11
|
[--update-strict] [--patch|--minor|--major] [--filter-major] [--fil-
|
12
|
-
ter-minor] [--filter-patch]
|
12
|
+
ter-minor] [--filter-patch] [--only-explicit]
|
13
13
|
|
14
14
|
DESCRIPTION
|
15
15
|
Outdated lists the names and versions of gems that have a newer version
|
@@ -62,17 +62,21 @@ OPTIONS
|
|
62
62
|
--filter-patch
|
63
63
|
Only list patch newer versions.
|
64
64
|
|
65
|
+
--only-explicit
|
66
|
+
Only list gems specified in your Gemfile, not their dependen-
|
67
|
+
cies.
|
68
|
+
|
65
69
|
PATCH LEVEL OPTIONS
|
66
|
-
See
|
70
|
+
See bundle update(1) bundle-update.1.html for details.
|
67
71
|
|
68
|
-
One
|
72
|
+
One difference between the patch level options in bundle update and
|
69
73
|
here is the --strict option. --strict was already an option on outdated
|
70
74
|
before the patch level options were added. --strict wasn't altered, and
|
71
|
-
the
|
75
|
+
the --update-strict option on outdated reflects what --strict does on
|
72
76
|
bundle update.
|
73
77
|
|
74
78
|
FILTERING OUTPUT
|
75
|
-
The
|
79
|
+
The 3 filtering options do not affect the resolution of versions,
|
76
80
|
merely what versions are shown in the output.
|
77
81
|
|
78
82
|
If the regular output shows the following:
|
@@ -119,9 +123,9 @@ FILTERING OUTPUT
|
|
119
123
|
|
120
124
|
|
121
125
|
|
122
|
-
Combining
|
126
|
+
Combining all three filter options would be the same result as provid-
|
123
127
|
ing none of them.
|
124
128
|
|
125
129
|
|
126
130
|
|
127
|
-
|
131
|
+
December 2018 BUNDLE-OUTDATED(1)
|
data/man/bundle-outdated.ronn
CHANGED
@@ -15,6 +15,7 @@ bundle-outdated(1) -- List installed gems with newer versions available
|
|
15
15
|
[--filter-major]
|
16
16
|
[--filter-minor]
|
17
17
|
[--filter-patch]
|
18
|
+
[--only-explicit]
|
18
19
|
|
19
20
|
## DESCRIPTION
|
20
21
|
|
@@ -67,9 +68,12 @@ are up to date, Bundler will exit with a status of 0. Otherwise, it will exit 1.
|
|
67
68
|
* `--filter-patch`:
|
68
69
|
Only list patch newer versions.
|
69
70
|
|
71
|
+
* `--only-explicit`:
|
72
|
+
Only list gems specified in your Gemfile, not their dependencies.
|
73
|
+
|
70
74
|
## PATCH LEVEL OPTIONS
|
71
75
|
|
72
|
-
See [bundle update(1)]
|
76
|
+
See [bundle update(1)](bundle-update.1.html) for details.
|
73
77
|
|
74
78
|
One difference between the patch level options in `bundle update` and here is the `--strict` option.
|
75
79
|
`--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" "November 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
|
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,
|
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 default,
|
32
|
-
|
33
|
-
rubygems.org to check whether a platform-specific gem exists
|
34
|
-
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
|
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
|
+
November 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
|
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" "November 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" "November 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-remove.1
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "BUNDLE\-REMOVE" "1" "December 2018" "" ""
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBbundle\-remove\fR \- Removes gems from the Gemfile
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBbundle remove [GEM [GEM \.\.\.]] [\-\-install]\fR
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
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\.
|
14
|
+
.
|
15
|
+
.SH "OPTIONS"
|
16
|
+
.
|
17
|
+
.TP
|
18
|
+
\fB\-\-install\fR
|
19
|
+
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)\.
|
20
|
+
.
|
21
|
+
.P
|
22
|
+
Example:
|
23
|
+
.
|
24
|
+
.P
|
25
|
+
bundle remove rails
|
26
|
+
.
|
27
|
+
.P
|
28
|
+
bundle remove rails rack
|
29
|
+
.
|
30
|
+
.P
|
31
|
+
bundle remove rails rack \-\-install
|
@@ -0,0 +1,34 @@
|
|
1
|
+
BUNDLE-REMOVE(1) BUNDLE-REMOVE(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
bundle-remove - Removes gems from the Gemfile
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
bundle remove [GEM [GEM ...]] [--install]
|
10
|
+
|
11
|
+
DESCRIPTION
|
12
|
+
Removes the given gems from the Gemfile while ensuring that the result-
|
13
|
+
ing Gemfile is still valid. If a gem cannot be removed, a warning is
|
14
|
+
printed. If a gem is already absent from the Gemfile, and error is
|
15
|
+
raised.
|
16
|
+
|
17
|
+
OPTIONS
|
18
|
+
--install
|
19
|
+
Runs bundle install after the given gems have been removed from
|
20
|
+
the Gemfile, which ensures that both the lockfile and the
|
21
|
+
installed gems on disk are also updated to remove the given
|
22
|
+
gem(s).
|
23
|
+
|
24
|
+
Example:
|
25
|
+
|
26
|
+
bundle remove rails
|
27
|
+
|
28
|
+
bundle remove rails rack
|
29
|
+
|
30
|
+
bundle remove rails rack --install
|
31
|
+
|
32
|
+
|
33
|
+
|
34
|
+
December 2018 BUNDLE-REMOVE(1)
|
@@ -0,0 +1,23 @@
|
|
1
|
+
bundle-remove(1) -- Removes gems from the Gemfile
|
2
|
+
===========================================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`bundle remove [GEM [GEM ...]] [--install]`
|
7
|
+
|
8
|
+
## DESCRIPTION
|
9
|
+
|
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
|
+
|
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
|
+
Example:
|
18
|
+
|
19
|
+
bundle remove rails
|
20
|
+
|
21
|
+
bundle remove rails rack
|
22
|
+
|
23
|
+
bundle remove rails rack --install
|
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" "November 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)], sorted by name\.
|
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)], sorted by gem name\.
|
23
23
|
|
data/man/bundle-show.1.txt
CHANGED
@@ -10,16 +10,18 @@ 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
|
13
|
+
sions of all gems that are required by your [Gemfile(5)][Gemfile(5)],
|
14
|
+
sorted by name.
|
14
15
|
|
15
|
-
Calling
|
16
|
+
Calling show with [GEM] will list the exact location of that gem on
|
16
17
|
your machine.
|
17
18
|
|
18
19
|
OPTIONS
|
19
20
|
--paths
|
20
|
-
List the paths of all gems
|
21
|
+
List the paths of all gems that are required by your [Gem-
|
22
|
+
file(5)][Gemfile(5)], sorted by gem name.
|
21
23
|
|
22
24
|
|
23
25
|
|
24
26
|
|
25
|
-
|
27
|
+
November 2018 BUNDLE-SHOW(1)
|
data/man/bundle-show.ronn
CHANGED
@@ -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)], sorted by name.
|
13
13
|
|
14
14
|
Calling show with [GEM] will list the exact location of that gem on your
|
15
15
|
machine.
|
@@ -17,4 +17,5 @@ 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)],
|
21
|
+
sorted by gem name.
|
data/man/bundle-update.1
CHANGED
@@ -1,16 +1,16 @@
|
|
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" "December 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-update\fR \- Update your gems to the latest available versions
|
8
8
|
.
|
9
9
|
.SH "SYNOPSIS"
|
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]
|
10
|
+
\fBbundle update\fR \fI*gems\fR [\-\-all] [\-\-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
|
13
|
+
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\.
|
14
14
|
.
|
15
15
|
.P
|
16
16
|
You would use \fBbundle update\fR to explicitly update the version of a gem\.
|
@@ -18,6 +18,10 @@ You would use \fBbundle update\fR to explicitly update the version of a gem\.
|
|
18
18
|
.SH "OPTIONS"
|
19
19
|
.
|
20
20
|
.TP
|
21
|
+
\fB\-\-all\fR
|
22
|
+
Update all gems specified in Gemfile\.
|
23
|
+
.
|
24
|
+
.TP
|
21
25
|
\fB\-\-group=<name>\fR, \fB\-g=[<name>]\fR
|
22
26
|
Only update the gems in the specified group\. For instance, you can update all gems in the development group with \fBbundle update \-\-group development\fR\. You can also call \fBbundle update rails \-\-group test\fR to update the rails gem and all gems in the test group, for example\.
|
23
27
|
.
|
@@ -55,7 +59,7 @@ Only output warnings and errors\.
|
|
55
59
|
.
|
56
60
|
.TP
|
57
61
|
\fB\-\-force\fR
|
58
|
-
Force downloading every gem\.
|
62
|
+
Force downloading every gem\. \fB\-\-redownload\fR is an alias of this option\.
|
59
63
|
.
|
60
64
|
.TP
|
61
65
|
\fB\-\-patch\fR
|
@@ -78,7 +82,7 @@ Do not allow any gem to be updated past latest \fB\-\-patch\fR | \fB\-\-minor\fR
|
|
78
82
|
Use bundle install conservative update behavior and do not allow shared dependencies to be updated\.
|
79
83
|
.
|
80
84
|
.SH "UPDATING ALL GEMS"
|
81
|
-
If you run \fBbundle update\fR
|
85
|
+
If you run \fBbundle update \-\-all\fR, bundler will ignore any previously installed gems and resolve all dependencies again based on the latest versions of all gems available in the sources\.
|
82
86
|
.
|
83
87
|
.P
|
84
88
|
Consider the following Gemfile(5):
|
@@ -97,7 +101,7 @@ gem "nokogiri"
|
|
97
101
|
.IP "" 0
|
98
102
|
.
|
99
103
|
.P
|
100
|
-
When you run
|
104
|
+
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
105
|
.
|
102
106
|
.IP "" 4
|
103
107
|
.
|
@@ -140,16 +144,16 @@ Use `bundle show [gemname]` to see where a bundled gem is installed\.
|
|
140
144
|
.IP "" 0
|
141
145
|
.
|
142
146
|
.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
|
147
|
+
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
148
|
.
|
145
149
|
.P
|
146
|
-
After checking in the \fBGemfile\.lock\fR into version control and cloning it on another machine, running
|
150
|
+
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
151
|
.
|
148
152
|
.P
|
149
153
|
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)\.
|
150
154
|
.
|
151
155
|
.P
|
152
|
-
To do this, run \fBbundle update\fR, which will ignore the \fBGemfile\.lock\fR, and resolve all the dependencies again\. Keep in mind that this process can result in a significantly different set of the 25 gems, based on the requirements of new gems that the gem authors released since the last time you ran \fBbundle update\fR\.
|
156
|
+
To do this, run \fBbundle update \-\-all\fR, which will ignore the \fBGemfile\.lock\fR, and resolve all the dependencies again\. Keep in mind that this process can result in a significantly different set of the 25 gems, based on the requirements of new gems that the gem authors released since the last time you ran \fBbundle update \-\-all\fR\.
|
153
157
|
.
|
154
158
|
.SH "UPDATING A LIST OF GEMS"
|
155
159
|
Sometimes, you want to update a single gem in the Gemfile(5), and leave the rest of the gems that you specified locked to the versions in the \fBGemfile\.lock\fR\.
|
@@ -204,10 +208,10 @@ In this case, the two gems have their own set of dependencies, but they share \f
|
|
204
208
|
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
209
|
.
|
206
210
|
.P
|
207
|
-
To prevent updating shared dependencies, prior to version 1\.14 the only option was the \fBCONSERVATIVE UPDATING\fR behavior in
|
211
|
+
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
212
|
.
|
209
213
|
.P
|
210
|
-
In this scenario, updating the \fBthin\fR version manually in the Gemfile(5), and then running
|
214
|
+
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
215
|
.
|
212
216
|
.P
|
213
217
|
Starting with 1\.14, specifying the \fB\-\-conservative\fR option will also prevent shared dependencies from being updated\.
|
@@ -375,7 +379,7 @@ Make sure to check the updated \fBGemfile\.lock\fR into version control
|
|
375
379
|
$ git add Gemfile\.lock
|
376
380
|
.
|
377
381
|
.IP "\(bu" 4
|
378
|
-
If
|
382
|
+
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
383
|
.
|
380
384
|
.IP
|
381
385
|
$ bundle update rails thin
|
@@ -384,7 +388,7 @@ $ bundle update rails thin
|
|
384
388
|
If you want to update all the gems to the latest possible versions that still match the gems listed in the Gemfile(5), run
|
385
389
|
.
|
386
390
|
.IP
|
387
|
-
$ bundle update
|
391
|
+
$ bundle update \-\-all
|
388
392
|
.
|
389
393
|
.IP "" 0
|
390
394
|
|