bundler 1.15.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 +320 -0
- data/README.md +17 -8
- data/bundler.gemspec +25 -9
- data/exe/bundle +1 -6
- data/exe/bundle_ruby +4 -3
- data/lib/bundler/build_metadata.rb +53 -0
- data/lib/bundler/capistrano.rb +5 -0
- data/lib/bundler/cli/add.rb +15 -6
- data/lib/bundler/cli/binstubs.rb +17 -9
- data/lib/bundler/cli/cache.rb +5 -4
- data/lib/bundler/cli/check.rb +3 -5
- data/lib/bundler/cli/clean.rb +5 -6
- data/lib/bundler/cli/common.rb +11 -2
- data/lib/bundler/cli/config.rb +2 -1
- data/lib/bundler/cli/console.rb +2 -1
- data/lib/bundler/cli/doctor.rb +48 -1
- data/lib/bundler/cli/exec.rb +6 -5
- data/lib/bundler/cli/gem.rb +13 -8
- data/lib/bundler/cli/info.rb +0 -1
- data/lib/bundler/cli/init.rb +18 -6
- data/lib/bundler/cli/inject.rb +1 -0
- data/lib/bundler/cli/install.rb +64 -77
- data/lib/bundler/cli/issue.rb +1 -1
- data/lib/bundler/cli/list.rb +58 -0
- data/lib/bundler/cli/lock.rb +0 -1
- data/lib/bundler/cli/open.rb +2 -2
- data/lib/bundler/cli/outdated.rb +20 -9
- data/lib/bundler/cli/package.rb +9 -6
- data/lib/bundler/cli/platform.rb +1 -0
- data/lib/bundler/cli/plugin.rb +1 -0
- data/lib/bundler/cli/pristine.rb +20 -6
- data/lib/bundler/cli/remove.rb +18 -0
- data/lib/bundler/cli/show.rb +0 -1
- data/lib/bundler/cli/update.rb +35 -7
- data/lib/bundler/cli/viz.rb +4 -0
- data/lib/bundler/cli.rb +234 -90
- data/lib/bundler/compact_index_client/cache.rb +1 -2
- data/lib/bundler/compact_index_client/updater.rb +35 -7
- data/lib/bundler/compact_index_client.rb +1 -0
- data/lib/bundler/compatibility_guard.rb +14 -0
- data/lib/bundler/constants.rb +1 -0
- data/lib/bundler/current_ruby.rb +13 -5
- data/lib/bundler/definition.rb +192 -139
- data/lib/bundler/dep_proxy.rb +3 -1
- data/lib/bundler/dependency.rb +9 -9
- data/lib/bundler/deployment.rb +1 -1
- data/lib/bundler/deprecate.rb +15 -3
- data/lib/bundler/dsl.rb +115 -64
- data/lib/bundler/endpoint_specification.rb +10 -1
- data/lib/bundler/env.rb +90 -29
- data/lib/bundler/environment_preserver.rb +27 -6
- data/lib/bundler/errors.rb +1 -0
- data/lib/bundler/feature_flag.rb +46 -4
- data/lib/bundler/fetcher/base.rb +1 -0
- data/lib/bundler/fetcher/compact_index.rb +2 -11
- data/lib/bundler/fetcher/dependency.rb +2 -1
- data/lib/bundler/fetcher/downloader.rb +11 -5
- data/lib/bundler/fetcher/index.rb +3 -2
- data/lib/bundler/fetcher.rb +18 -11
- data/lib/bundler/friendly_errors.rb +6 -1
- data/lib/bundler/gem_helper.rb +19 -10
- data/lib/bundler/gem_helpers.rb +1 -0
- data/lib/bundler/gem_remote_fetcher.rb +1 -0
- data/lib/bundler/gem_tasks.rb +1 -0
- data/lib/bundler/gem_version_promoter.rb +17 -2
- data/lib/bundler/gemdeps.rb +1 -0
- data/lib/bundler/graph.rb +1 -0
- data/lib/bundler/index.rb +8 -8
- data/lib/bundler/injector.rb +192 -30
- data/lib/bundler/inline.rb +10 -10
- data/lib/bundler/installer/gem_installer.rb +12 -2
- data/lib/bundler/installer/parallel_installer.rb +78 -42
- data/lib/bundler/installer/standalone.rb +1 -0
- data/lib/bundler/installer.rb +138 -53
- data/lib/bundler/lazy_specification.rb +3 -2
- data/lib/bundler/lockfile_generator.rb +95 -0
- data/lib/bundler/lockfile_parser.rb +10 -4
- data/lib/bundler/match_platform.rb +1 -0
- data/lib/bundler/mirror.rb +8 -5
- data/lib/bundler/plugin/api/source.rb +9 -2
- data/lib/bundler/plugin/events.rb +61 -0
- data/lib/bundler/plugin/index.rb +7 -2
- data/lib/bundler/plugin/installer.rb +7 -6
- data/lib/bundler/plugin/source_list.rb +7 -8
- data/lib/bundler/plugin.rb +13 -5
- data/lib/bundler/process_lock.rb +24 -0
- data/lib/bundler/psyched_yaml.rb +10 -0
- data/lib/bundler/remote_specification.rb +10 -1
- data/lib/bundler/resolver/spec_group.rb +106 -0
- data/lib/bundler/resolver.rb +158 -195
- data/lib/bundler/retry.rb +1 -0
- data/lib/bundler/ruby_dsl.rb +1 -0
- data/lib/bundler/ruby_version.rb +2 -1
- data/lib/bundler/rubygems_ext.rb +5 -4
- data/lib/bundler/rubygems_gem_installer.rb +31 -1
- data/lib/bundler/rubygems_integration.rb +71 -32
- data/lib/bundler/runtime.rb +11 -9
- data/lib/bundler/settings/validator.rb +102 -0
- data/lib/bundler/settings.rb +213 -86
- data/lib/bundler/setup.rb +4 -7
- data/lib/bundler/shared_helpers.rb +131 -26
- data/lib/bundler/similarity_detector.rb +1 -0
- data/lib/bundler/source/gemspec.rb +1 -0
- data/lib/bundler/source/git/git_proxy.rb +21 -11
- data/lib/bundler/source/git.rb +24 -19
- data/lib/bundler/source/metadata.rb +62 -0
- data/lib/bundler/source/path/installer.rb +2 -0
- data/lib/bundler/source/path.rb +11 -7
- data/lib/bundler/source/rubygems/remote.rb +8 -2
- data/lib/bundler/source/rubygems.rb +161 -84
- data/lib/bundler/source.rb +36 -0
- data/lib/bundler/source_list.rb +75 -15
- data/lib/bundler/spec_set.rb +12 -6
- data/lib/bundler/ssl_certs/certificate_manager.rb +2 -1
- data/lib/bundler/stub_specification.rb +1 -0
- data/lib/bundler/templates/.document +1 -0
- data/lib/bundler/templates/Executable +12 -0
- data/lib/bundler/templates/Executable.bundler +105 -0
- data/lib/bundler/templates/Gemfile +3 -0
- data/lib/bundler/templates/gems.rb +8 -0
- data/lib/bundler/templates/newgem/Gemfile.tt +2 -0
- data/lib/bundler/templates/newgem/README.md.tt +1 -1
- data/lib/bundler/templates/newgem/gitignore.tt +0 -1
- data/lib/bundler/templates/newgem/lib/newgem.rb.tt +1 -0
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +12 -3
- data/lib/bundler/templates/newgem/rspec.tt +1 -0
- data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +0 -2
- data/lib/bundler/templates/newgem/{.travis.yml.tt → travis.yml.tt} +2 -0
- data/lib/bundler/ui/rg_proxy.rb +1 -0
- data/lib/bundler/ui/shell.rb +17 -4
- data/lib/bundler/ui/silent.rb +1 -0
- data/lib/bundler/ui.rb +1 -0
- data/lib/bundler/uri_credentials_filter.rb +1 -0
- data/lib/bundler/vendor/fileutils/lib/fileutils.rb +1638 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +26 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +7 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +15 -4
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +3 -2
- data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +75 -7
- data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +2 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/modules/specification_provider.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/modules/ui.rb +3 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +491 -148
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolver.rb +1 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +8 -4
- data/lib/bundler/vendor/molinillo/lib/molinillo.rb +2 -0
- data/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb +3 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +1 -0
- data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +1 -0
- data/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +9 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +45 -8
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +9 -3
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +6 -3
- data/lib/bundler/vendor/thor/lib/thor/base.rb +27 -4
- data/lib/bundler/vendor/thor/lib/thor/command.rb +9 -7
- data/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +12 -0
- data/lib/bundler/vendor/thor/lib/thor/group.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +2 -0
- data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +5 -5
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +6 -5
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +6 -4
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +10 -9
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor.rb +25 -8
- data/lib/bundler/vendored_fileutils.rb +9 -0
- data/lib/bundler/vendored_molinillo.rb +1 -0
- data/lib/bundler/vendored_persistent.rb +35 -0
- data/lib/bundler/vendored_thor.rb +1 -0
- data/lib/bundler/version.rb +6 -2
- data/lib/bundler/version_ranges.rb +1 -0
- data/lib/bundler/vlad.rb +5 -0
- data/lib/bundler/worker.rb +1 -0
- data/lib/bundler/yaml_serializer.rb +3 -3
- data/lib/bundler.rb +86 -52
- data/man/bundle-add.1 +18 -3
- data/man/bundle-add.1.txt +26 -14
- data/man/bundle-add.ronn +13 -2
- data/man/bundle-binstubs.1 +11 -1
- data/man/bundle-binstubs.1.txt +33 -18
- data/man/bundle-binstubs.ronn +15 -1
- data/man/bundle-check.1 +4 -4
- data/man/bundle-check.1.txt +15 -14
- data/man/bundle-check.ronn +3 -3
- data/man/bundle-clean.1 +1 -1
- data/man/bundle-clean.1.txt +10 -10
- data/man/bundle-config.1 +129 -29
- data/man/bundle-config.1.txt +285 -174
- data/man/bundle-config.ronn +167 -88
- 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 +6 -3
- data/man/bundle-exec.1.txt +78 -71
- data/man/bundle-exec.ronn +10 -3
- data/man/bundle-gem.1 +4 -4
- data/man/bundle-gem.1.txt +41 -40
- data/man/bundle-gem.ronn +3 -2
- data/man/bundle-info.1 +1 -1
- data/man/bundle-info.1.txt +8 -8
- data/man/bundle-init.1 +9 -4
- data/man/bundle-init.1.txt +23 -13
- data/man/bundle-init.ronn +15 -4
- data/man/bundle-inject.1 +4 -4
- data/man/bundle-inject.1.txt +10 -10
- data/man/bundle-inject.ronn +3 -3
- data/man/bundle-install.1 +31 -28
- data/man/bundle-install.1.txt +205 -194
- data/man/bundle-install.ronn +44 -35
- data/man/bundle-list.1 +50 -0
- data/man/bundle-list.1.txt +43 -0
- data/man/bundle-list.ronn +33 -0
- data/man/bundle-lock.1 +1 -1
- data/man/bundle-lock.1.txt +47 -47
- data/man/bundle-lock.ronn +1 -1
- data/man/bundle-open.1 +1 -1
- data/man/bundle-open.1.txt +7 -7
- data/man/bundle-outdated.1 +7 -3
- data/man/bundle-outdated.1.txt +40 -36
- data/man/bundle-outdated.ronn +6 -2
- data/man/bundle-package.1 +6 -3
- data/man/bundle-package.1.txt +44 -39
- data/man/bundle-package.ronn +7 -2
- data/man/bundle-platform.1 +1 -1
- data/man/bundle-platform.1.txt +13 -13
- data/man/bundle-pristine.1 +21 -3
- data/man/bundle-pristine.1.txt +33 -10
- data/man/bundle-pristine.ronn +24 -3
- 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 +14 -12
- data/man/bundle-show.ronn +3 -2
- data/man/bundle-update.1 +13 -9
- data/man/bundle-update.1.txt +133 -130
- data/man/bundle-update.ronn +21 -17
- data/man/bundle-viz.1 +7 -7
- data/man/bundle-viz.1.txt +17 -15
- data/man/bundle-viz.ronn +6 -6
- data/man/bundle.1 +31 -32
- data/man/bundle.1.txt +63 -75
- data/man/bundle.ronn +35 -47
- data/man/gemfile.5 +44 -8
- data/man/gemfile.5.ronn +54 -8
- data/man/gemfile.5.txt +218 -165
- data/man/index.txt +25 -15
- metadata +36 -44
- data/.codeclimate.yml +0 -25
- data/.gitignore +0 -18
- data/.rspec +0 -3
- data/.rubocop.yml +0 -131
- data/.rubocop_todo.yml +0 -418
- data/.travis.yml +0 -122
- data/CODE_OF_CONDUCT.md +0 -42
- data/CONTRIBUTING.md +0 -17
- data/Rakefile +0 -346
- data/bin/rake +0 -19
- data/bin/rspec +0 -15
- data/bin/rubocop +0 -17
- data/bin/with_rubygems +0 -39
- data/doc/README.md +0 -30
- data/doc/TROUBLESHOOTING.md +0 -64
- data/doc/contributing/BUG_TRIAGE.md +0 -36
- data/doc/contributing/COMMUNITY.md +0 -13
- data/doc/contributing/GETTING_HELP.md +0 -11
- data/doc/contributing/HOW_YOU_CAN_HELP.md +0 -27
- data/doc/contributing/ISSUES.md +0 -51
- data/doc/contributing/README.md +0 -38
- data/doc/development/NEW_FEATURES.md +0 -10
- data/doc/development/PULL_REQUESTS.md +0 -40
- data/doc/development/README.md +0 -19
- data/doc/development/RELEASING.md +0 -9
- data/doc/development/SETUP.md +0 -29
- data/doc/documentation/README.md +0 -29
- data/doc/documentation/VISION.md +0 -26
- data/doc/documentation/WRITING.md +0 -54
- data/lib/bundler/postit_trampoline.rb +0 -73
- data/lib/bundler/vendor/postit/lib/postit/environment.rb +0 -44
- data/lib/bundler/vendor/postit/lib/postit/installer.rb +0 -28
- data/lib/bundler/vendor/postit/lib/postit/parser.rb +0 -21
- data/lib/bundler/vendor/postit/lib/postit/setup.rb +0 -12
- data/lib/bundler/vendor/postit/lib/postit/version.rb +0 -3
- data/lib/bundler/vendor/postit/lib/postit.rb +0 -15
- data/task/release.rake +0 -116
data/man/bundle-install.ronn
CHANGED
@@ -5,24 +5,24 @@ bundle-install(1) -- Install the dependencies specified in your Gemfile
|
|
5
5
|
|
6
6
|
`bundle install` [--binstubs[=DIRECTORY]]
|
7
7
|
[--clean]
|
8
|
+
[--deployment]
|
9
|
+
[--force]
|
10
|
+
[--frozen]
|
8
11
|
[--full-index]
|
9
12
|
[--gemfile=GEMFILE]
|
10
13
|
[--jobs=NUMBER]
|
11
14
|
[--local]
|
12
|
-
[--deployment]
|
13
|
-
[--force]
|
14
|
-
[--frozen]
|
15
15
|
[--no-cache]
|
16
16
|
[--no-prune]
|
17
17
|
[--path PATH]
|
18
|
-
[--system]
|
19
18
|
[--quiet]
|
20
19
|
[--retry=NUMBER]
|
21
20
|
[--shebang]
|
22
21
|
[--standalone[=GROUP[ GROUP...]]]
|
22
|
+
[--system]
|
23
23
|
[--trust-policy=POLICY]
|
24
|
-
[--without=GROUP[ GROUP...]]
|
25
24
|
[--with=GROUP[ GROUP...]]
|
25
|
+
[--without=GROUP[ GROUP...]]
|
26
26
|
|
27
27
|
## DESCRIPTION
|
28
28
|
|
@@ -43,7 +43,7 @@ update process below under [CONSERVATIVE UPDATING][].
|
|
43
43
|
|
44
44
|
## OPTIONS
|
45
45
|
|
46
|
-
To apply any of `--
|
46
|
+
To apply any of `--binstubs`, `--deployment`, `--path`, or `--without` every
|
47
47
|
time `bundle install` is run, use `bundle config` (see bundle-config(1)).
|
48
48
|
|
49
49
|
* `--binstubs[=<directory>]`:
|
@@ -59,10 +59,23 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
|
|
59
59
|
in the current Gemfile(5). Don't worry, gems currently in use will not be
|
60
60
|
removed.
|
61
61
|
|
62
|
+
* `--deployment`:
|
63
|
+
In [deployment mode][DEPLOYMENT MODE], Bundler will 'roll-out' the bundle for
|
64
|
+
production or CI use. Please check carefully if you want to have this option
|
65
|
+
enabled in your development environment.
|
66
|
+
|
67
|
+
* `--force`:
|
68
|
+
Force download every gem, even if the required versions are already available
|
69
|
+
locally. `--redownload` is an alias of this option.
|
70
|
+
|
71
|
+
* `--frozen`:
|
72
|
+
Do not allow the Gemfile.lock to be updated after this install. Exits
|
73
|
+
non-zero if there are going to be changes to the Gemfile.lock.
|
74
|
+
|
62
75
|
* `--full-index`:
|
63
76
|
Bundler will not call Rubygems' API endpoint (default) but download and cache
|
64
77
|
a (currently big) index file of all gems. Performance can be improved for
|
65
|
-
large bundles that
|
78
|
+
large bundles that seldom change by enabling this option.
|
66
79
|
|
67
80
|
* `--gemfile=<gemfile>`:
|
68
81
|
The location of the Gemfile(5) which Bundler should use. This defaults
|
@@ -71,7 +84,7 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
|
|
71
84
|
root and will try to find `Gemfile.lock` and `vendor/cache` relative
|
72
85
|
to this location.
|
73
86
|
|
74
|
-
* `--jobs=[<number>]`:
|
87
|
+
* `--jobs=[<number>]`, `-j[<number>]`:
|
75
88
|
The maximum number of parallel download and install jobs. The default
|
76
89
|
is `1`.
|
77
90
|
|
@@ -81,23 +94,6 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
|
|
81
94
|
appropriate platform-specific gem exists on `rubygems.org` it will not be
|
82
95
|
found.
|
83
96
|
|
84
|
-
* `--deployment`:
|
85
|
-
In [deployment mode][DEPLOYMENT MODE], Bundler will 'roll-out' the bundle for
|
86
|
-
production or CI use. Please check carefully if you want to have this option
|
87
|
-
enabled in your development environment.
|
88
|
-
|
89
|
-
* `--force`:
|
90
|
-
Force download every gem, even if the required versions are already available
|
91
|
-
locally.
|
92
|
-
|
93
|
-
* `--frozen`:
|
94
|
-
Do not allow the Gemfile.lock to be updated after this install. Exits
|
95
|
-
non-zero if there are going to be changes to the Gemfile.lock.
|
96
|
-
|
97
|
-
* `--system`:
|
98
|
-
Installs the gems specified in the bundle to the system's Rubygems location.
|
99
|
-
This overrides any previous configuration of `--path`.
|
100
|
-
|
101
97
|
* `--no-cache`:
|
102
98
|
Do not update the cache in `vendor/cache` with the newly bundled gems. This
|
103
99
|
does not remove any gems in the cache but keeps the newly bundled gems from
|
@@ -134,23 +130,27 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
|
|
134
130
|
in the manner required. Using this option implicitly sets `path`, which is a
|
135
131
|
[remembered option][REMEMBERED OPTIONS].
|
136
132
|
|
133
|
+
* `--system`:
|
134
|
+
Installs the gems specified in the bundle to the system's Rubygems location.
|
135
|
+
This overrides any previous configuration of `--path`.
|
136
|
+
|
137
137
|
* `--trust-policy=[<policy>]`:
|
138
138
|
Apply the Rubygems security policy <policy>, where policy is one of
|
139
139
|
`HighSecurity`, `MediumSecurity`, `LowSecurity`, `AlmostNoSecurity`, or
|
140
140
|
`NoSecurity`. For more details, please see the Rubygems signing documentation
|
141
141
|
linked below in [SEE ALSO][].
|
142
142
|
|
143
|
-
* `--without=<list>`:
|
144
|
-
A space-separated list of groups referencing gems to skip during installation.
|
145
|
-
If a group is given that is in the remembered list of groups given
|
146
|
-
to --with, it is removed from that list.
|
147
|
-
|
148
143
|
* `--with=<list>`:
|
149
144
|
A space-separated list of groups referencing gems to install. If an
|
150
145
|
optional group is given it is installed. If a group is given that is
|
151
146
|
in the remembered list of groups given to --without, it is removed
|
152
147
|
from that list.
|
153
148
|
|
149
|
+
* `--without=<list>`:
|
150
|
+
A space-separated list of groups referencing gems to skip during installation.
|
151
|
+
If a group is given that is in the remembered list of groups given
|
152
|
+
to --with, it is removed from that list.
|
153
|
+
|
154
154
|
## DEPLOYMENT MODE
|
155
155
|
|
156
156
|
Bundler's defaults are optimized for development. To switch to
|
@@ -290,12 +290,21 @@ of a dependency of a gem in your Gemfile(5)) can result in radically
|
|
290
290
|
different gems being needed to satisfy all dependencies.
|
291
291
|
|
292
292
|
As a result, you `SHOULD` check your `Gemfile.lock` into version
|
293
|
-
control. If you do not, every machine that
|
294
|
-
repository (including your production server) will resolve all
|
293
|
+
control, in both applications and gems. If you do not, every machine that
|
294
|
+
checks out your repository (including your production server) will resolve all
|
295
295
|
dependencies again, which will result in different versions of
|
296
296
|
third-party code being used if `any` of the gems in the Gemfile(5)
|
297
297
|
or any of their dependencies have been updated.
|
298
298
|
|
299
|
+
When Bundler first shipped, the `Gemfile.lock` was included in the `.gitignore`
|
300
|
+
file included with generated gems. Over time, however, it became clear that
|
301
|
+
this practice forces the pain of broken dependencies onto new contributors,
|
302
|
+
while leaving existing contributors potentially unaware of the problem. Since
|
303
|
+
`bundle install` is usually the first step towards a contribution, the pain of
|
304
|
+
broken dependencies would discourage new contributors from contributing. As a
|
305
|
+
result, we have revised our guidance for gem authors to now recommend checking
|
306
|
+
in the lock for gems.
|
307
|
+
|
299
308
|
## CONSERVATIVE UPDATING
|
300
309
|
|
301
310
|
When you make a change to the Gemfile(5) and then run `bundle install`,
|
@@ -361,9 +370,9 @@ which other gems in the Gemfile(5) still depend on, run
|
|
361
370
|
`Summary`: In general, after making a change to the Gemfile(5) , you
|
362
371
|
should first try to run `bundle install`, which will guarantee that no
|
363
372
|
other gem in the Gemfile(5) is impacted by the change. If that
|
364
|
-
does not work, run [bundle update(1)]
|
373
|
+
does not work, run [bundle update(1)](bundle-update.1.html).
|
365
374
|
|
366
375
|
## SEE ALSO
|
367
376
|
|
368
|
-
* Gem install docs
|
369
|
-
* Rubygems signing docs
|
377
|
+
* [Gem install docs](http://guides.rubygems.org/rubygems-basics/#installing-gems)
|
378
|
+
* [Rubygems signing docs](http://guides.rubygems.org/security/)
|
data/man/bundle-list.1
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "BUNDLE\-LIST" "1" "December 2018" "" ""
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBbundle\-list\fR \- List all the gems in the bundle
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBbundle list\fR [\-\-name\-only] [\-\-paths] [\-\-without\-group=GROUP] [\-\-only\-group=GROUP]
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
Prints a list of all the gems in the bundle including their version\.
|
14
|
+
.
|
15
|
+
.P
|
16
|
+
Example:
|
17
|
+
.
|
18
|
+
.P
|
19
|
+
bundle list \-\-name\-only
|
20
|
+
.
|
21
|
+
.P
|
22
|
+
bundle list \-\-paths
|
23
|
+
.
|
24
|
+
.P
|
25
|
+
bundle list \-\-without\-group test
|
26
|
+
.
|
27
|
+
.P
|
28
|
+
bundle list \-\-only\-group dev
|
29
|
+
.
|
30
|
+
.P
|
31
|
+
bundle list \-\-only\-group dev \-\-paths
|
32
|
+
.
|
33
|
+
.SH "OPTIONS"
|
34
|
+
.
|
35
|
+
.TP
|
36
|
+
\fB\-\-name\-only\fR
|
37
|
+
Print only the name of each gem\.
|
38
|
+
.
|
39
|
+
.TP
|
40
|
+
\fB\-\-paths\fR
|
41
|
+
Print the path to each gem in the bundle\.
|
42
|
+
.
|
43
|
+
.TP
|
44
|
+
\fB\-\-without\-group\fR
|
45
|
+
Print all gems expect from a group\.
|
46
|
+
.
|
47
|
+
.TP
|
48
|
+
\fB\-\-only\-group\fR
|
49
|
+
Print gems from a particular group\.
|
50
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
BUNDLE-LIST(1) BUNDLE-LIST(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
bundle-list - List all the gems in the bundle
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
bundle list [--name-only] [--paths] [--without-group=GROUP]
|
10
|
+
[--only-group=GROUP]
|
11
|
+
|
12
|
+
DESCRIPTION
|
13
|
+
Prints a list of all the gems in the bundle including their version.
|
14
|
+
|
15
|
+
Example:
|
16
|
+
|
17
|
+
bundle list --name-only
|
18
|
+
|
19
|
+
bundle list --paths
|
20
|
+
|
21
|
+
bundle list --without-group test
|
22
|
+
|
23
|
+
bundle list --only-group dev
|
24
|
+
|
25
|
+
bundle list --only-group dev --paths
|
26
|
+
|
27
|
+
OPTIONS
|
28
|
+
--name-only
|
29
|
+
Print only the name of each gem.
|
30
|
+
|
31
|
+
--paths
|
32
|
+
Print the path to each gem in the bundle.
|
33
|
+
|
34
|
+
--without-group
|
35
|
+
Print all gems expect from a group.
|
36
|
+
|
37
|
+
--only-group
|
38
|
+
Print gems from a particular group.
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
December 2018 BUNDLE-LIST(1)
|
@@ -0,0 +1,33 @@
|
|
1
|
+
bundle-list(1) -- List all the gems in the bundle
|
2
|
+
=========================================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`bundle list` [--name-only] [--paths] [--without-group=GROUP] [--only-group=GROUP]
|
7
|
+
|
8
|
+
## DESCRIPTION
|
9
|
+
|
10
|
+
Prints a list of all the gems in the bundle including their version.
|
11
|
+
|
12
|
+
Example:
|
13
|
+
|
14
|
+
bundle list --name-only
|
15
|
+
|
16
|
+
bundle list --paths
|
17
|
+
|
18
|
+
bundle list --without-group test
|
19
|
+
|
20
|
+
bundle list --only-group dev
|
21
|
+
|
22
|
+
bundle list --only-group dev --paths
|
23
|
+
|
24
|
+
## OPTIONS
|
25
|
+
|
26
|
+
* `--name-only`:
|
27
|
+
Print only the name of each gem.
|
28
|
+
* `--paths`:
|
29
|
+
Print the path to each gem in the bundle.
|
30
|
+
* `--without-group`:
|
31
|
+
Print all gems expect from a group.
|
32
|
+
* `--only-group`:
|
33
|
+
Print gems from a particular group.
|
data/man/bundle-lock.1
CHANGED
data/man/bundle-lock.1.txt
CHANGED
@@ -2,92 +2,92 @@ BUNDLE-LOCK(1) BUNDLE-LOCK(1)
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
NAME
|
6
|
+
bundle-lock - Creates / Updates a lockfile without installing
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
SYNOPSIS
|
9
|
+
bundle lock [--update] [--local] [--print] [--lockfile=PATH]
|
10
10
|
[--full-index] [--add-platform] [--remove-platform] [--patch] [--minor]
|
11
11
|
[--major] [--strict] [--conservative]
|
12
12
|
|
13
|
-
|
13
|
+
DESCRIPTION
|
14
14
|
Lock the gems specified in Gemfile.
|
15
15
|
|
16
|
-
|
17
|
-
|
16
|
+
OPTIONS
|
17
|
+
--update=<*gems>
|
18
18
|
Ignores the existing lockfile. Resolve then updates lockfile.
|
19
|
-
Taking a list of gems or updating all gems if no list is
|
19
|
+
Taking a list of gems or updating all gems if no list is given.
|
20
20
|
|
21
|
-
|
22
|
-
Do not attempt to connect to
|
23
|
-
use
|
24
|
-
|
25
|
-
exists on
|
21
|
+
--local
|
22
|
+
Do not attempt to connect to rubygems.org. Instead, Bundler will
|
23
|
+
use the gems already present in Rubygems' cache or in ven-
|
24
|
+
dor/cache. Note that if a appropriate platform-specific gem
|
25
|
+
exists on rubygems.org it will not be found.
|
26
26
|
|
27
|
-
|
28
|
-
Prints
|
27
|
+
--print
|
28
|
+
Prints the lockfile to STDOUT instead of writing to the file
|
29
29
|
system.
|
30
30
|
|
31
|
-
|
31
|
+
--lockfile=<path>
|
32
32
|
The path where the lockfile should be written to.
|
33
33
|
|
34
|
-
|
34
|
+
--full-index
|
35
35
|
Fall back to using the single-file index of all gems.
|
36
36
|
|
37
|
-
|
38
|
-
Add
|
37
|
+
--add-platform
|
38
|
+
Add a new platform to the lockfile, re-resolving for the addi-
|
39
39
|
tion of that platform.
|
40
40
|
|
41
|
-
|
41
|
+
--remove-platform
|
42
42
|
Remove a platform from the lockfile.
|
43
43
|
|
44
|
-
|
44
|
+
--patch
|
45
45
|
If updating, prefer updating only to next patch version.
|
46
46
|
|
47
|
-
|
47
|
+
--minor
|
48
48
|
If updating, prefer updating only to next minor version.
|
49
49
|
|
50
|
-
|
50
|
+
--major
|
51
51
|
If updating, prefer updating to next major version (default).
|
52
52
|
|
53
|
-
|
54
|
-
If
|
53
|
+
--strict
|
54
|
+
If updating, do not allow any gem to be updated past latest
|
55
55
|
--patch | --minor | --major.
|
56
56
|
|
57
|
-
|
57
|
+
--conservative
|
58
58
|
If updating, use bundle install conservative update behavior and
|
59
59
|
do not allow shared dependencies to be updated.
|
60
60
|
|
61
|
-
|
62
|
-
If
|
63
|
-
bundler
|
64
|
-
dependencies
|
61
|
+
UPDATING ALL GEMS
|
62
|
+
If you run bundle lock with --update option without list of gems,
|
63
|
+
bundler will ignore any previously installed gems and resolve all
|
64
|
+
dependencies again based on the latest versions of all gems available
|
65
65
|
in the sources.
|
66
66
|
|
67
|
-
|
67
|
+
UPDATING A LIST OF GEMS
|
68
68
|
Sometimes, you want to update a single gem in the Gemfile(5), and leave
|
69
|
-
the
|
70
|
-
|
69
|
+
the rest of the gems that you specified locked to the versions in the
|
70
|
+
Gemfile.lock.
|
71
71
|
|
72
|
-
For
|
73
|
-
|
72
|
+
For instance, you only want to update nokogiri, run bundle lock
|
73
|
+
--update nokogiri.
|
74
74
|
|
75
|
-
Bundler will update
|
76
|
-
rest
|
77
|
-
|
75
|
+
Bundler will update nokogiri and any of its dependencies, but leave the
|
76
|
+
rest of the gems that you specified locked to the versions in the Gem-
|
77
|
+
file.lock.
|
78
78
|
|
79
|
-
|
80
|
-
If
|
81
|
-
running locally, you can run
|
82
|
-
PLATFORM
|
83
|
-
new
|
79
|
+
SUPPORTING OTHER PLATFORMS
|
80
|
+
If you want your bundle to support platforms other than the one you're
|
81
|
+
running locally, you can run bundle lock --add-platform PLATFORM to add
|
82
|
+
PLATFORM to the lockfile, force bundler to re-resolve and consider the
|
83
|
+
new platform when picking gems, all without needing to have a machine
|
84
84
|
that matches PLATFORM handy to install those platform-specific gems on.
|
85
85
|
|
86
|
-
For a full explanation of gem platforms, see
|
86
|
+
For a full explanation of gem platforms, see gem help platform.
|
87
87
|
|
88
|
-
|
89
|
-
See bundle update(1)
|
88
|
+
PATCH LEVEL OPTIONS
|
89
|
+
See bundle update(1) bundle-update.1.html for details.
|
90
90
|
|
91
91
|
|
92
92
|
|
93
|
-
|
93
|
+
November 2018 BUNDLE-LOCK(1)
|
data/man/bundle-lock.ronn
CHANGED
data/man/bundle-open.1
CHANGED
data/man/bundle-open.1.txt
CHANGED
@@ -2,16 +2,16 @@ BUNDLE-OPEN(1) BUNDLE-OPEN(1)
|
|
2
2
|
|
3
3
|
|
4
4
|
|
5
|
-
|
6
|
-
|
5
|
+
NAME
|
6
|
+
bundle-open - Opens the source directory for a gem in your bundle
|
7
7
|
|
8
|
-
|
9
|
-
|
8
|
+
SYNOPSIS
|
9
|
+
bundle open [GEM]
|
10
10
|
|
11
|
-
|
11
|
+
DESCRIPTION
|
12
12
|
Opens the source directory of the provided GEM in your editor.
|
13
13
|
|
14
|
-
For this to work the
|
14
|
+
For this to work the EDITOR or BUNDLER_EDITOR environment variable has
|
15
15
|
to be set.
|
16
16
|
|
17
17
|
Example:
|
@@ -26,4 +26,4 @@ BUNDLE-OPEN(1) BUNDLE-OPEN(1)
|
|
26
26
|
|
27
27
|
|
28
28
|
|
29
|
-
|
29
|
+
November 2018 BUNDLE-OPEN(1)
|
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\.
|
@@ -31,7 +31,7 @@ Check against a specific source\.
|
|
31
31
|
Only list newer versions allowed by your Gemfile requirements\.
|
32
32
|
.
|
33
33
|
.TP
|
34
|
-
\fB\-\-parseable\fR
|
34
|
+
\fB\-\-parseable\fR, \fB\-\-porcelain\fR
|
35
35
|
Use minimal formatting for more parseable output\.
|
36
36
|
.
|
37
37
|
.TP
|
@@ -70,6 +70,10 @@ 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
78
|
See bundle update(1) \fIbundle\-update\.1\.html\fR for details\.
|
75
79
|
.
|