bundler 1.13.6 → 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 +554 -9
- data/README.md +28 -5
- data/bundler.gemspec +40 -11
- data/exe/bundle +4 -8
- data/exe/bundle_ruby +4 -3
- data/lib/bundler.rb +162 -68
- data/lib/bundler/build_metadata.rb +53 -0
- data/lib/bundler/capistrano.rb +5 -0
- data/lib/bundler/cli.rb +360 -118
- data/lib/bundler/cli/add.rb +35 -0
- data/lib/bundler/cli/binstubs.rb +18 -10
- data/lib/bundler/cli/cache.rb +6 -5
- data/lib/bundler/cli/check.rb +4 -6
- data/lib/bundler/cli/clean.rb +6 -7
- data/lib/bundler/cli/common.rb +47 -1
- data/lib/bundler/cli/config.rb +26 -7
- data/lib/bundler/cli/console.rb +2 -1
- data/lib/bundler/cli/doctor.rb +63 -18
- data/lib/bundler/cli/exec.rb +12 -5
- data/lib/bundler/cli/gem.rb +59 -21
- data/lib/bundler/cli/info.rb +50 -0
- data/lib/bundler/cli/init.rb +21 -7
- data/lib/bundler/cli/inject.rb +13 -4
- data/lib/bundler/cli/install.rb +72 -101
- data/lib/bundler/cli/issue.rb +40 -0
- data/lib/bundler/cli/list.rb +58 -0
- data/lib/bundler/cli/lock.rb +9 -6
- data/lib/bundler/cli/open.rb +4 -3
- data/lib/bundler/cli/outdated.rb +175 -60
- data/lib/bundler/cli/package.rb +9 -6
- data/lib/bundler/cli/platform.rb +2 -1
- data/lib/bundler/cli/plugin.rb +1 -0
- data/lib/bundler/cli/pristine.rb +47 -0
- data/lib/bundler/cli/remove.rb +18 -0
- data/lib/bundler/cli/show.rb +2 -2
- data/lib/bundler/cli/update.rb +44 -34
- data/lib/bundler/cli/viz.rb +5 -1
- data/lib/bundler/compact_index_client.rb +109 -0
- data/lib/bundler/compact_index_client/cache.rb +118 -0
- data/lib/bundler/compact_index_client/updater.rb +116 -0
- data/lib/bundler/compatibility_guard.rb +14 -0
- data/lib/bundler/constants.rb +1 -0
- data/lib/bundler/current_ruby.rb +17 -8
- data/lib/bundler/definition.rb +353 -182
- data/lib/bundler/dep_proxy.rb +3 -1
- data/lib/bundler/dependency.rb +22 -10
- data/lib/bundler/deployment.rb +1 -1
- data/lib/bundler/deprecate.rb +15 -3
- data/lib/bundler/dsl.rb +122 -64
- data/lib/bundler/endpoint_specification.rb +13 -3
- data/lib/bundler/env.rb +110 -38
- data/lib/bundler/environment_preserver.rb +27 -6
- data/lib/bundler/errors.rb +24 -0
- data/lib/bundler/feature_flag.rb +74 -0
- data/lib/bundler/fetcher.rb +18 -11
- data/lib/bundler/fetcher/base.rb +1 -0
- data/lib/bundler/fetcher/compact_index.rb +7 -5
- data/lib/bundler/fetcher/dependency.rb +3 -2
- data/lib/bundler/fetcher/downloader.rb +25 -7
- data/lib/bundler/fetcher/index.rb +3 -2
- data/lib/bundler/friendly_errors.rb +33 -7
- data/lib/bundler/gem_helper.rb +25 -11
- data/lib/bundler/gem_helpers.rb +70 -1
- 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 +29 -0
- data/lib/bundler/graph.rb +1 -0
- data/lib/bundler/index.rb +28 -15
- data/lib/bundler/injector.rb +216 -33
- data/lib/bundler/inline.rb +12 -12
- data/lib/bundler/installer.rb +139 -53
- data/lib/bundler/installer/gem_installer.rb +15 -5
- data/lib/bundler/installer/parallel_installer.rb +113 -28
- data/lib/bundler/installer/standalone.rb +1 -0
- data/lib/bundler/lazy_specification.rb +31 -3
- data/lib/bundler/lockfile_generator.rb +95 -0
- data/lib/bundler/lockfile_parser.rb +50 -37
- data/lib/bundler/match_platform.rb +13 -3
- data/lib/bundler/mirror.rb +10 -5
- data/lib/bundler/plugin.rb +22 -8
- data/lib/bundler/plugin/api.rb +2 -1
- data/lib/bundler/plugin/api/source.rb +17 -4
- data/lib/bundler/plugin/events.rb +61 -0
- data/lib/bundler/plugin/index.rb +9 -2
- data/lib/bundler/plugin/installer.rb +7 -6
- data/lib/bundler/plugin/source_list.rb +7 -8
- data/lib/bundler/process_lock.rb +24 -0
- data/lib/bundler/psyched_yaml.rb +10 -0
- data/lib/bundler/remote_specification.rb +30 -1
- data/lib/bundler/resolver.rb +187 -194
- data/lib/bundler/resolver/spec_group.rb +106 -0
- data/lib/bundler/retry.rb +5 -1
- data/lib/bundler/ruby_dsl.rb +1 -0
- data/lib/bundler/ruby_version.rb +12 -2
- data/lib/bundler/rubygems_ext.rb +23 -8
- data/lib/bundler/rubygems_gem_installer.rb +90 -0
- data/lib/bundler/rubygems_integration.rb +193 -70
- data/lib/bundler/runtime.rb +39 -22
- data/lib/bundler/settings.rb +245 -85
- data/lib/bundler/settings/validator.rb +102 -0
- data/lib/bundler/setup.rb +4 -7
- data/lib/bundler/shared_helpers.rb +183 -40
- data/lib/bundler/similarity_detector.rb +1 -0
- data/lib/bundler/source.rb +58 -1
- data/lib/bundler/source/gemspec.rb +1 -0
- data/lib/bundler/source/git.rb +52 -23
- data/lib/bundler/source/git/git_proxy.rb +30 -14
- data/lib/bundler/source/metadata.rb +62 -0
- data/lib/bundler/source/path.rb +42 -16
- data/lib/bundler/source/path/installer.rb +4 -2
- data/lib/bundler/source/rubygems.rb +171 -82
- data/lib/bundler/source/rubygems/remote.rb +12 -2
- data/lib/bundler/source_list.rb +75 -15
- data/lib/bundler/spec_set.rb +67 -32
- data/lib/bundler/ssl_certs/certificate_manager.rb +2 -1
- data/lib/bundler/stub_specification.rb +86 -2
- data/lib/bundler/templates/.document +1 -0
- data/lib/bundler/templates/Executable +13 -1
- data/lib/bundler/templates/Executable.bundler +105 -0
- data/lib/bundler/templates/Executable.standalone +5 -5
- data/lib/bundler/templates/Gemfile +3 -0
- data/lib/bundler/templates/gems.rb +8 -0
- data/lib/bundler/templates/newgem/Gemfile.tt +4 -2
- data/lib/bundler/templates/newgem/LICENSE.txt.tt +1 -1
- data/lib/bundler/templates/newgem/README.md.tt +14 -8
- data/lib/bundler/templates/newgem/Rakefile.tt +5 -5
- data/lib/bundler/templates/newgem/bin/console.tt +1 -1
- data/lib/bundler/templates/newgem/ext/newgem/newgem.c.tt +4 -4
- data/lib/bundler/templates/newgem/ext/newgem/newgem.h.tt +3 -3
- data/lib/bundler/templates/newgem/gitignore.tt +5 -1
- data/lib/bundler/templates/newgem/lib/newgem.rb.tt +7 -6
- data/lib/bundler/templates/newgem/lib/newgem/version.rb.tt +4 -4
- data/lib/bundler/templates/newgem/newgem.gemspec.tt +21 -12
- data/lib/bundler/templates/newgem/rspec.tt +1 -0
- data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +1 -3
- data/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +13 -1
- data/lib/bundler/templates/newgem/test/newgem_test.rb.tt +1 -1
- data/lib/bundler/templates/newgem/test/test_helper.rb.tt +3 -3
- data/lib/bundler/templates/newgem/{.travis.yml.tt → travis.yml.tt} +2 -0
- data/lib/bundler/ui.rb +1 -0
- data/lib/bundler/ui/rg_proxy.rb +1 -0
- data/lib/bundler/ui/shell.rb +30 -10
- data/lib/bundler/ui/silent.rb +21 -1
- 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.rb +2 -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.rb +26 -6
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +2 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +12 -4
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +3 -2
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/delete_edge.rb +63 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb +11 -3
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +13 -1
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +3 -2
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +3 -2
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +18 -5
- 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 +499 -128
- 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/{net → net-http-persistent/lib/net}/http/faster.rb +1 -0
- data/lib/bundler/vendor/{net → net-http-persistent/lib/net}/http/persistent.rb +27 -24
- data/lib/bundler/vendor/{net → net-http-persistent/lib/net}/http/persistent/ssl_reuse.rb +2 -1
- data/lib/bundler/vendor/thor/lib/thor.rb +46 -21
- data/lib/bundler/vendor/thor/lib/thor/actions.rb +24 -22
- data/lib/bundler/vendor/thor/lib/thor/actions/create_file.rb +2 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/create_link.rb +2 -1
- data/lib/bundler/vendor/thor/lib/thor/actions/directory.rb +2 -2
- data/lib/bundler/vendor/thor/lib/thor/actions/empty_directory.rb +16 -8
- data/lib/bundler/vendor/thor/lib/thor/actions/file_manipulation.rb +66 -18
- data/lib/bundler/vendor/thor/lib/thor/actions/inject_into_file.rb +17 -15
- data/lib/bundler/vendor/thor/lib/thor/base.rb +55 -32
- data/lib/bundler/vendor/thor/lib/thor/command.rb +13 -11
- data/lib/bundler/vendor/thor/lib/thor/core_ext/hash_with_indifferent_access.rb +21 -1
- data/lib/bundler/vendor/thor/lib/thor/core_ext/io_binary_read.rb +7 -5
- data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +94 -63
- data/lib/bundler/vendor/thor/lib/thor/error.rb +3 -3
- data/lib/bundler/vendor/thor/lib/thor/group.rb +13 -13
- data/lib/bundler/vendor/thor/lib/thor/invocation.rb +4 -5
- data/lib/bundler/vendor/thor/lib/thor/line_editor/basic.rb +2 -0
- data/lib/bundler/vendor/thor/lib/thor/parser/argument.rb +4 -7
- data/lib/bundler/vendor/thor/lib/thor/parser/arguments.rb +16 -16
- data/lib/bundler/vendor/thor/lib/thor/parser/option.rb +42 -21
- data/lib/bundler/vendor/thor/lib/thor/parser/options.rb +13 -10
- data/lib/bundler/vendor/thor/lib/thor/runner.rb +31 -29
- data/lib/bundler/vendor/thor/lib/thor/shell.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/basic.rb +49 -33
- data/lib/bundler/vendor/thor/lib/thor/shell/color.rb +1 -1
- data/lib/bundler/vendor/thor/lib/thor/shell/html.rb +4 -4
- data/lib/bundler/vendor/thor/lib/thor/util.rb +8 -7
- data/lib/bundler/vendor/thor/lib/thor/version.rb +1 -1
- data/lib/bundler/vendored_fileutils.rb +9 -0
- data/lib/bundler/vendored_molinillo.rb +1 -0
- data/lib/bundler/vendored_persistent.rb +43 -3
- data/lib/bundler/vendored_thor.rb +6 -2
- data/lib/bundler/version.rb +19 -2
- data/lib/bundler/version_ranges.rb +76 -0
- data/lib/bundler/vlad.rb +5 -0
- data/lib/bundler/worker.rb +30 -6
- data/lib/bundler/yaml_serializer.rb +4 -4
- data/man/bundle-add.1 +58 -0
- data/man/bundle-add.1.txt +52 -0
- data/man/bundle-add.ronn +40 -0
- data/{lib/bundler/man/bundle-binstubs → man/bundle-binstubs.1} +11 -1
- data/man/bundle-binstubs.1.txt +48 -0
- data/man/bundle-binstubs.ronn +15 -1
- data/man/bundle-check.1 +31 -0
- data/man/bundle-check.1.txt +33 -0
- data/man/bundle-check.ronn +26 -0
- data/man/bundle-clean.1 +24 -0
- data/man/bundle-clean.1.txt +26 -0
- data/man/bundle-clean.ronn +18 -0
- data/man/bundle-config.1 +497 -0
- data/man/bundle-config.1.txt +529 -0
- data/man/bundle-config.ronn +233 -61
- data/man/bundle-doctor.1 +44 -0
- data/man/bundle-doctor.1.txt +44 -0
- data/man/bundle-doctor.ronn +33 -0
- data/{lib/bundler/man/bundle-exec → man/bundle-exec.1} +6 -3
- data/man/bundle-exec.1.txt +178 -0
- data/man/bundle-exec.ronn +10 -3
- data/{lib/bundler/man/bundle-gem → man/bundle-gem.1} +4 -4
- data/man/bundle-gem.1.txt +91 -0
- data/man/bundle-gem.ronn +3 -2
- data/man/bundle-info.1 +20 -0
- data/man/bundle-info.1.txt +21 -0
- data/man/bundle-info.ronn +17 -0
- data/man/bundle-init.1 +25 -0
- data/man/bundle-init.1.txt +34 -0
- data/man/bundle-init.ronn +29 -0
- data/man/bundle-inject.1 +33 -0
- data/man/bundle-inject.1.txt +32 -0
- data/man/bundle-inject.ronn +22 -0
- data/{lib/bundler/man/bundle-install → man/bundle-install.1} +32 -29
- data/man/bundle-install.1.txt +396 -0
- data/man/bundle-install.ronn +45 -36
- data/man/bundle-list.1 +50 -0
- data/man/bundle-list.1.txt +43 -0
- data/man/bundle-list.ronn +33 -0
- data/{lib/bundler/man/bundle-lock → man/bundle-lock.1} +43 -2
- data/man/bundle-lock.1.txt +93 -0
- data/man/bundle-lock.ronn +47 -0
- data/man/bundle-open.1 +32 -0
- data/man/bundle-open.1.txt +29 -0
- data/man/bundle-open.ronn +19 -0
- data/man/bundle-outdated.1 +155 -0
- data/man/bundle-outdated.1.txt +131 -0
- data/man/bundle-outdated.ronn +111 -0
- data/{lib/bundler/man/bundle-package → man/bundle-package.1} +6 -3
- data/man/bundle-package.1.txt +79 -0
- data/man/bundle-package.ronn +7 -2
- data/{lib/bundler/man/bundle-platform → man/bundle-platform.1} +1 -1
- data/man/bundle-platform.1.txt +57 -0
- data/man/bundle-pristine.1 +34 -0
- data/man/bundle-pristine.1.txt +44 -0
- data/man/bundle-pristine.ronn +34 -0
- 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 +23 -0
- data/man/bundle-show.1.txt +27 -0
- data/man/bundle-show.ronn +21 -0
- data/man/bundle-update.1 +394 -0
- data/man/bundle-update.1.txt +391 -0
- data/man/bundle-update.ronn +172 -16
- data/man/bundle-viz.1 +39 -0
- data/man/bundle-viz.1.txt +39 -0
- data/man/bundle-viz.ronn +30 -0
- data/{lib/bundler/man/bundle → man/bundle.1} +44 -28
- data/man/bundle.1.txt +116 -0
- data/man/bundle.ronn +39 -27
- data/{lib/bundler/man → man}/gemfile.5 +67 -84
- data/man/gemfile.5.ronn +77 -55
- data/man/gemfile.5.txt +653 -0
- data/man/index.txt +25 -8
- metadata +118 -58
- data/.codeclimate.yml +0 -25
- data/.gitignore +0 -16
- data/.rspec +0 -3
- data/.rubocop.yml +0 -128
- data/.rubocop_todo.yml +0 -248
- data/.travis.yml +0 -108
- data/CODE_OF_CONDUCT.md +0 -42
- data/CONTRIBUTING.md +0 -36
- data/DEVELOPMENT.md +0 -148
- data/ISSUES.md +0 -100
- data/Rakefile +0 -333
- data/bin/rake +0 -19
- data/bin/rspec +0 -15
- data/bin/rubocop +0 -17
- data/bin/with_rubygems +0 -39
- data/lib/bundler/man/bundle-binstubs.txt +0 -33
- data/lib/bundler/man/bundle-config +0 -254
- data/lib/bundler/man/bundle-config.txt +0 -282
- data/lib/bundler/man/bundle-exec.txt +0 -171
- data/lib/bundler/man/bundle-gem.txt +0 -90
- data/lib/bundler/man/bundle-install.txt +0 -385
- data/lib/bundler/man/bundle-lock.txt +0 -52
- data/lib/bundler/man/bundle-package.txt +0 -74
- data/lib/bundler/man/bundle-platform.txt +0 -57
- data/lib/bundler/man/bundle-update +0 -221
- data/lib/bundler/man/bundle-update.txt +0 -227
- data/lib/bundler/man/bundle.txt +0 -104
- data/lib/bundler/man/gemfile.5.txt +0 -636
- data/lib/bundler/postit_trampoline.rb +0 -68
- data/lib/bundler/vendor/compact_index_client/lib/compact_index_client.rb +0 -79
- data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/cache.rb +0 -112
- data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/updater.rb +0 -80
- data/lib/bundler/vendor/compact_index_client/lib/compact_index_client/version.rb +0 -4
- data/lib/bundler/vendor/postit/lib/postit.rb +0 -15
- 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/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
|
@@ -110,7 +106,7 @@ time `bundle install` is run, use `bundle config` (see bundle-config(1)).
|
|
110
106
|
The location to install the specified gems to. This defaults to Rubygems'
|
111
107
|
setting. Bundler shares this location with Rubygems, `gem install ...` will
|
112
108
|
have gem installed there, too. Therefore, gems installed without a
|
113
|
-
`--path ...` setting will show up by calling `gem list`.
|
109
|
+
`--path ...` setting will show up by calling `gem list`. Accordingly, gems
|
114
110
|
installed to other locations will not get listed.
|
115
111
|
|
116
112
|
* `--quiet`:
|
@@ -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.
|
@@ -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\-LOCK" "1" "
|
4
|
+
.TH "BUNDLE\-LOCK" "1" "November 2018" "" ""
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBbundle\-lock\fR \- Creates / Updates a lockfile without installing
|
8
8
|
.
|
9
9
|
.SH "SYNOPSIS"
|
10
|
-
\fBbundle lock\fR [\-\-update] [\-\-local] [\-\-print] [\-\-lockfile=PATH]
|
10
|
+
\fBbundle lock\fR [\-\-update] [\-\-local] [\-\-print] [\-\-lockfile=PATH] [\-\-full\-index] [\-\-add\-platform] [\-\-remove\-platform] [\-\-patch] [\-\-minor] [\-\-major] [\-\-strict] [\-\-conservative]
|
11
11
|
.
|
12
12
|
.SH "DESCRIPTION"
|
13
13
|
Lock the gems specified in Gemfile\.
|
@@ -30,6 +30,38 @@ Prints the lockfile to STDOUT instead of writing to the file system\.
|
|
30
30
|
\fB\-\-lockfile=<path>\fR
|
31
31
|
The path where the lockfile should be written to\.
|
32
32
|
.
|
33
|
+
.TP
|
34
|
+
\fB\-\-full\-index\fR
|
35
|
+
Fall back to using the single\-file index of all gems\.
|
36
|
+
.
|
37
|
+
.TP
|
38
|
+
\fB\-\-add\-platform\fR
|
39
|
+
Add a new platform to the lockfile, re\-resolving for the addition of that platform\.
|
40
|
+
.
|
41
|
+
.TP
|
42
|
+
\fB\-\-remove\-platform\fR
|
43
|
+
Remove a platform from the lockfile\.
|
44
|
+
.
|
45
|
+
.TP
|
46
|
+
\fB\-\-patch\fR
|
47
|
+
If updating, prefer updating only to next patch version\.
|
48
|
+
.
|
49
|
+
.TP
|
50
|
+
\fB\-\-minor\fR
|
51
|
+
If updating, prefer updating only to next minor version\.
|
52
|
+
.
|
53
|
+
.TP
|
54
|
+
\fB\-\-major\fR
|
55
|
+
If updating, prefer updating to next major version (default)\.
|
56
|
+
.
|
57
|
+
.TP
|
58
|
+
\fB\-\-strict\fR
|
59
|
+
If updating, do not allow any gem to be updated past latest \-\-patch | \-\-minor | \-\-major\.
|
60
|
+
.
|
61
|
+
.TP
|
62
|
+
\fB\-\-conservative\fR
|
63
|
+
If updating, use bundle install conservative update behavior and do not allow shared dependencies to be updated\.
|
64
|
+
.
|
33
65
|
.SH "UPDATING ALL GEMS"
|
34
66
|
If you run \fBbundle lock\fR with \fB\-\-update\fR option without list of gems, bundler will ignore any previously installed gems and resolve all dependencies again based on the latest versions of all gems available in the sources\.
|
35
67
|
.
|
@@ -41,3 +73,12 @@ For instance, you only want to update \fBnokogiri\fR, run \fBbundle lock \-\-upd
|
|
41
73
|
.
|
42
74
|
.P
|
43
75
|
Bundler will update \fBnokogiri\fR and any of its dependencies, but leave the rest of the gems that you specified locked to the versions in the \fBGemfile\.lock\fR\.
|
76
|
+
.
|
77
|
+
.SH "SUPPORTING OTHER PLATFORMS"
|
78
|
+
If you want your bundle to support platforms other than the one you\'re running locally, you can run \fBbundle lock \-\-add\-platform PLATFORM\fR to add PLATFORM to the lockfile, force bundler to re\-resolve and consider the new platform when picking gems, all without needing to have a machine that matches PLATFORM handy to install those platform\-specific gems on\.
|
79
|
+
.
|
80
|
+
.P
|
81
|
+
For a full explanation of gem platforms, see \fBgem help platform\fR\.
|
82
|
+
.
|
83
|
+
.SH "PATCH LEVEL OPTIONS"
|
84
|
+
See bundle update(1) \fIbundle\-update\.1\.html\fR for details\.
|
@@ -0,0 +1,93 @@
|
|
1
|
+
BUNDLE-LOCK(1) BUNDLE-LOCK(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
bundle-lock - Creates / Updates a lockfile without installing
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
bundle lock [--update] [--local] [--print] [--lockfile=PATH]
|
10
|
+
[--full-index] [--add-platform] [--remove-platform] [--patch] [--minor]
|
11
|
+
[--major] [--strict] [--conservative]
|
12
|
+
|
13
|
+
DESCRIPTION
|
14
|
+
Lock the gems specified in Gemfile.
|
15
|
+
|
16
|
+
OPTIONS
|
17
|
+
--update=<*gems>
|
18
|
+
Ignores the existing lockfile. Resolve then updates lockfile.
|
19
|
+
Taking a list of gems or updating all gems if no list is given.
|
20
|
+
|
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
|
+
|
27
|
+
--print
|
28
|
+
Prints the lockfile to STDOUT instead of writing to the file
|
29
|
+
system.
|
30
|
+
|
31
|
+
--lockfile=<path>
|
32
|
+
The path where the lockfile should be written to.
|
33
|
+
|
34
|
+
--full-index
|
35
|
+
Fall back to using the single-file index of all gems.
|
36
|
+
|
37
|
+
--add-platform
|
38
|
+
Add a new platform to the lockfile, re-resolving for the addi-
|
39
|
+
tion of that platform.
|
40
|
+
|
41
|
+
--remove-platform
|
42
|
+
Remove a platform from the lockfile.
|
43
|
+
|
44
|
+
--patch
|
45
|
+
If updating, prefer updating only to next patch version.
|
46
|
+
|
47
|
+
--minor
|
48
|
+
If updating, prefer updating only to next minor version.
|
49
|
+
|
50
|
+
--major
|
51
|
+
If updating, prefer updating to next major version (default).
|
52
|
+
|
53
|
+
--strict
|
54
|
+
If updating, do not allow any gem to be updated past latest
|
55
|
+
--patch | --minor | --major.
|
56
|
+
|
57
|
+
--conservative
|
58
|
+
If updating, use bundle install conservative update behavior and
|
59
|
+
do not allow shared dependencies to be updated.
|
60
|
+
|
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
|
+
in the sources.
|
66
|
+
|
67
|
+
UPDATING A LIST OF GEMS
|
68
|
+
Sometimes, you want to update a single gem in the Gemfile(5), and leave
|
69
|
+
the rest of the gems that you specified locked to the versions in the
|
70
|
+
Gemfile.lock.
|
71
|
+
|
72
|
+
For instance, you only want to update nokogiri, run bundle lock
|
73
|
+
--update nokogiri.
|
74
|
+
|
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
|
+
|
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
|
+
that matches PLATFORM handy to install those platform-specific gems on.
|
85
|
+
|
86
|
+
For a full explanation of gem platforms, see gem help platform.
|
87
|
+
|
88
|
+
PATCH LEVEL OPTIONS
|
89
|
+
See bundle update(1) bundle-update.1.html for details.
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
November 2018 BUNDLE-LOCK(1)
|