bundler 1.9.0 → 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 +1157 -6
- data/README.md +33 -6
- data/bundler.gemspec +51 -18
- data/exe/bundle +31 -0
- data/{bin → exe}/bundle_ruby +10 -6
- data/exe/bundler +4 -0
- data/lib/bundler.rb +326 -207
- data/lib/bundler/build_metadata.rb +53 -0
- data/lib/bundler/capistrano.rb +9 -3
- data/lib/bundler/cli.rb +522 -141
- data/lib/bundler/cli/add.rb +35 -0
- data/lib/bundler/cli/binstubs.rb +22 -11
- data/lib/bundler/cli/cache.rb +7 -6
- data/lib/bundler/cli/check.rb +11 -8
- data/lib/bundler/cli/clean.rb +7 -8
- data/lib/bundler/cli/common.rb +53 -7
- data/lib/bundler/cli/config.rb +84 -49
- data/lib/bundler/cli/console.rb +13 -8
- data/lib/bundler/cli/doctor.rb +140 -0
- data/lib/bundler/cli/exec.rb +77 -16
- data/lib/bundler/cli/gem.rb +120 -52
- data/lib/bundler/cli/info.rb +50 -0
- data/lib/bundler/cli/init.rb +21 -7
- data/lib/bundler/cli/inject.rb +37 -10
- data/lib/bundler/cli/install.rb +139 -78
- data/lib/bundler/cli/issue.rb +40 -0
- data/lib/bundler/cli/list.rb +58 -0
- data/lib/bundler/cli/lock.rb +63 -0
- data/lib/bundler/cli/open.rb +9 -6
- data/lib/bundler/cli/outdated.rb +221 -35
- data/lib/bundler/cli/package.rb +11 -7
- data/lib/bundler/cli/platform.rb +7 -4
- data/lib/bundler/cli/plugin.rb +24 -0
- data/lib/bundler/cli/pristine.rb +47 -0
- data/lib/bundler/cli/remove.rb +18 -0
- data/lib/bundler/cli/show.rb +11 -10
- data/lib/bundler/cli/update.rb +47 -29
- data/lib/bundler/cli/viz.rb +12 -8
- 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 +3 -1
- data/lib/bundler/current_ruby.rb +47 -137
- data/lib/bundler/definition.rb +599 -230
- data/lib/bundler/dep_proxy.rb +15 -10
- data/lib/bundler/dependency.rb +54 -25
- data/lib/bundler/deployment.rb +12 -2
- data/lib/bundler/deprecate.rb +33 -4
- data/lib/bundler/dsl.rb +383 -99
- data/lib/bundler/endpoint_specification.rb +72 -7
- data/lib/bundler/env.rb +121 -41
- data/lib/bundler/environment_preserver.rb +59 -0
- data/lib/bundler/errors.rb +158 -0
- data/lib/bundler/feature_flag.rb +74 -0
- data/lib/bundler/fetcher.rb +171 -280
- data/lib/bundler/fetcher/base.rb +52 -0
- data/lib/bundler/fetcher/compact_index.rb +126 -0
- data/lib/bundler/fetcher/dependency.rb +82 -0
- data/lib/bundler/fetcher/downloader.rb +84 -0
- data/lib/bundler/fetcher/index.rb +52 -0
- data/lib/bundler/friendly_errors.rb +113 -58
- data/lib/bundler/gem_helper.rb +73 -46
- data/lib/bundler/gem_helpers.rb +85 -9
- data/lib/bundler/gem_remote_fetcher.rb +43 -0
- data/lib/bundler/gem_tasks.rb +6 -1
- data/lib/bundler/gem_version_promoter.rb +190 -0
- data/lib/bundler/gemdeps.rb +29 -0
- data/lib/bundler/graph.rb +32 -49
- data/lib/bundler/index.rb +79 -67
- data/lib/bundler/injector.rb +219 -30
- data/lib/bundler/inline.rb +74 -0
- data/lib/bundler/installer.rb +191 -206
- data/lib/bundler/installer/gem_installer.rb +85 -0
- data/lib/bundler/installer/parallel_installer.rb +233 -0
- data/lib/bundler/installer/standalone.rb +53 -0
- data/lib/bundler/lazy_specification.rb +53 -13
- data/lib/bundler/lockfile_generator.rb +95 -0
- data/lib/bundler/lockfile_parser.rb +157 -62
- data/lib/bundler/match_platform.rb +15 -4
- data/lib/bundler/mirror.rb +223 -0
- data/lib/bundler/plugin.rb +292 -0
- data/lib/bundler/plugin/api.rb +81 -0
- data/lib/bundler/plugin/api/source.rb +306 -0
- data/lib/bundler/plugin/dsl.rb +53 -0
- data/lib/bundler/plugin/events.rb +61 -0
- data/lib/bundler/plugin/index.rb +162 -0
- data/lib/bundler/plugin/installer.rb +96 -0
- data/lib/bundler/plugin/installer/git.rb +38 -0
- data/lib/bundler/plugin/installer/rubygems.rb +27 -0
- data/lib/bundler/plugin/source_list.rb +27 -0
- data/lib/bundler/process_lock.rb +24 -0
- data/lib/bundler/psyched_yaml.rb +17 -6
- data/lib/bundler/remote_specification.rb +68 -11
- data/lib/bundler/resolver.rb +263 -229
- data/lib/bundler/resolver/spec_group.rb +106 -0
- data/lib/bundler/retry.rb +25 -19
- data/lib/bundler/ruby_dsl.rb +9 -2
- data/lib/bundler/ruby_version.rb +101 -66
- data/lib/bundler/rubygems_ext.rb +77 -37
- data/lib/bundler/rubygems_gem_installer.rb +106 -0
- data/lib/bundler/rubygems_integration.rb +450 -163
- data/lib/bundler/runtime.rb +133 -103
- data/lib/bundler/settings.rb +344 -83
- data/lib/bundler/settings/validator.rb +102 -0
- data/lib/bundler/setup.rb +7 -3
- data/lib/bundler/shared_helpers.rb +284 -54
- data/lib/bundler/similarity_detector.rb +21 -21
- data/lib/bundler/source.rb +68 -15
- data/lib/bundler/source/gemspec.rb +18 -0
- data/lib/bundler/source/git.rb +90 -55
- data/lib/bundler/source/git/git_proxy.rb +135 -35
- data/lib/bundler/source/metadata.rb +62 -0
- data/lib/bundler/source/path.rb +84 -61
- data/lib/bundler/source/path/installer.rb +53 -17
- data/lib/bundler/source/rubygems.rb +282 -122
- data/lib/bundler/source/rubygems/remote.rb +69 -0
- data/lib/bundler/source_list.rb +107 -22
- data/lib/bundler/spec_set.rb +83 -45
- data/lib/bundler/ssl_certs/certificate_manager.rb +8 -7
- data/lib/bundler/ssl_certs/index.rubygems.org/GlobalSignRootCA.pem +21 -0
- data/lib/bundler/ssl_certs/{DigiCertHighAssuranceEVRootCA.pem → rubygems.global.ssl.fastly.net/DigiCertHighAssuranceEVRootCA.pem} +0 -0
- data/lib/bundler/ssl_certs/{AddTrustExternalCARoot-2048.pem → rubygems.org/AddTrustExternalCARoot.pem} +0 -0
- data/lib/bundler/stub_specification.rb +108 -0
- data/lib/bundler/templates/.document +1 -0
- data/lib/bundler/templates/Executable +19 -6
- data/lib/bundler/templates/Executable.bundler +105 -0
- data/lib/bundler/templates/Executable.standalone +6 -4
- data/lib/bundler/templates/Gemfile +4 -1
- data/lib/bundler/templates/gems.rb +8 -0
- data/lib/bundler/templates/newgem/CODE_OF_CONDUCT.md.tt +68 -7
- 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 +19 -11
- data/lib/bundler/templates/newgem/Rakefile.tt +10 -6
- data/lib/bundler/templates/newgem/bin/console.tt +1 -1
- data/lib/bundler/templates/newgem/bin/setup.tt +2 -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 +31 -15
- data/lib/bundler/templates/newgem/rspec.tt +1 -0
- data/lib/bundler/templates/newgem/spec/newgem_spec.rb.tt +3 -5
- data/lib/bundler/templates/newgem/spec/spec_helper.rb.tt +14 -2
- data/lib/bundler/templates/newgem/test/{test_newgem.rb.tt → newgem_test.rb.tt} +2 -2
- data/lib/bundler/templates/newgem/test/test_helper.rb.tt +4 -0
- data/lib/bundler/templates/newgem/travis.yml.tt +7 -0
- data/lib/bundler/ui.rb +5 -3
- data/lib/bundler/ui/rg_proxy.rb +5 -7
- data/lib/bundler/ui/shell.rb +69 -18
- data/lib/bundler/ui/silent.rb +26 -1
- data/lib/bundler/uri_credentials_filter.rb +37 -0
- data/lib/bundler/vendor/fileutils/lib/fileutils.rb +1638 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo.rb +12 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/compatibility.rb +26 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/resolution_state.rb +57 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/delegates/specification_provider.rb +81 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph.rb +223 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/action.rb +36 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb +66 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/add_vertex.rb +62 -0
- 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 +61 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/log.rb +126 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/set_payload.rb +46 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/tag.rb +36 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/dependency_graph/vertex.rb +136 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/errors.rb +143 -0
- data/lib/bundler/vendor/molinillo/lib/molinillo/gem_metadata.rb +6 -0
- data/lib/bundler/vendor/{Molinillo-0.2.1 → molinillo}/lib/molinillo/modules/specification_provider.rb +11 -0
- data/lib/bundler/vendor/{Molinillo-0.2.1 → molinillo}/lib/molinillo/modules/ui.rb +6 -2
- data/lib/bundler/vendor/molinillo/lib/molinillo/resolution.rb +837 -0
- data/lib/bundler/vendor/{Molinillo-0.2.1 → molinillo}/lib/molinillo/resolver.rb +6 -3
- data/lib/bundler/vendor/molinillo/lib/molinillo/state.rb +58 -0
- 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-0.19.1 → thor}/lib/thor.rb +47 -22
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/actions.rb +31 -29
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/actions/create_file.rb +3 -2
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/actions/create_link.rb +3 -2
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/actions/directory.rb +3 -3
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/actions/empty_directory.rb +16 -8
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/actions/file_manipulation.rb +66 -18
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/actions/inject_into_file.rb +18 -16
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/base.rb +67 -44
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/command.rb +13 -11
- data/lib/bundler/vendor/{thor-0.19.1 → 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 +12 -0
- data/lib/bundler/vendor/thor/lib/thor/core_ext/ordered_hash.rb +129 -0
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/error.rb +3 -3
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/group.rb +14 -14
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/invocation.rb +4 -5
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/line_editor.rb +2 -2
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/line_editor/basic.rb +2 -0
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/line_editor/readline.rb +0 -0
- data/lib/bundler/vendor/thor/lib/thor/parser.rb +4 -0
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/parser/argument.rb +4 -7
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/parser/arguments.rb +16 -16
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/parser/option.rb +42 -21
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/parser/options.rb +13 -10
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/rake_compat.rb +1 -1
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/runner.rb +35 -33
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/shell.rb +4 -4
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/shell/basic.rb +49 -33
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/shell/color.rb +2 -2
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/shell/html.rb +5 -5
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/util.rb +8 -7
- data/lib/bundler/vendor/{thor-0.19.1 → thor}/lib/thor/version.rb +1 -1
- data/lib/bundler/vendored_fileutils.rb +9 -0
- data/lib/bundler/vendored_molinillo.rb +4 -5
- data/lib/bundler/vendored_persistent.rb +45 -4
- data/lib/bundler/vendored_thor.rb +8 -5
- data/lib/bundler/version.rb +23 -1
- data/lib/bundler/version_ranges.rb +76 -0
- data/lib/bundler/vlad.rb +8 -2
- data/lib/bundler/worker.rb +39 -6
- data/lib/bundler/yaml_serializer.rb +90 -0
- data/man/bundle-add.1 +58 -0
- data/man/bundle-add.1.txt +52 -0
- data/man/bundle-add.ronn +40 -0
- data/man/bundle-binstubs.1 +40 -0
- data/man/bundle-binstubs.1.txt +48 -0
- data/man/bundle-binstubs.ronn +43 -0
- 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 +256 -31
- 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 +165 -0
- data/man/bundle-exec.1.txt +178 -0
- data/man/bundle-exec.ronn +19 -3
- data/man/bundle-gem.1 +80 -0
- data/man/bundle-gem.1.txt +91 -0
- data/man/bundle-gem.ronn +78 -0
- 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/man/bundle-install.1 +308 -0
- data/man/bundle-install.1.txt +396 -0
- data/man/bundle-install.ronn +64 -67
- 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 +84 -0
- data/man/bundle-lock.1.txt +93 -0
- data/man/bundle-lock.ronn +94 -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/man/bundle-package.1 +55 -0
- data/man/bundle-package.1.txt +79 -0
- data/man/bundle-package.ronn +14 -8
- data/man/bundle-platform.1 +61 -0
- data/man/bundle-platform.1.txt +57 -0
- data/man/bundle-platform.ronn +1 -1
- 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 +180 -18
- data/man/bundle-viz.1 +39 -0
- data/man/bundle-viz.1.txt +39 -0
- data/man/bundle-viz.ronn +30 -0
- data/man/bundle.1 +136 -0
- data/man/bundle.1.txt +116 -0
- data/man/bundle.ronn +46 -33
- data/man/gemfile.5 +689 -0
- data/man/gemfile.5.ronn +127 -79
- data/man/gemfile.5.txt +653 -0
- data/man/index.txt +25 -7
- metadata +242 -95
- data/.gitignore +0 -16
- data/.rspec +0 -3
- data/.travis.yml +0 -110
- data/CODE_OF_CONDUCT.md +0 -40
- data/CONTRIBUTING.md +0 -32
- data/DEVELOPMENT.md +0 -119
- data/ISSUES.md +0 -96
- data/Rakefile +0 -302
- data/UPGRADING.md +0 -103
- data/bin/bundle +0 -21
- data/bin/bundler +0 -21
- data/lib/bundler/anonymizable_uri.rb +0 -32
- data/lib/bundler/environment.rb +0 -42
- data/lib/bundler/gem_installer.rb +0 -9
- data/lib/bundler/gem_path_manipulation.rb +0 -8
- data/lib/bundler/ssl_certs/AddTrustExternalCARoot.pem +0 -32
- data/lib/bundler/ssl_certs/Class3PublicPrimaryCertificationAuthority.pem +0 -14
- data/lib/bundler/ssl_certs/EntrustnetSecureServerCertificationAuthority.pem +0 -28
- data/lib/bundler/ssl_certs/GeoTrustGlobalCA.pem +0 -20
- data/lib/bundler/templates/newgem/.travis.yml.tt +0 -3
- data/lib/bundler/templates/newgem/test/minitest_helper.rb.tt +0 -4
- data/lib/bundler/vendor/Molinillo-0.2.1/lib/molinillo.rb +0 -5
- data/lib/bundler/vendor/Molinillo-0.2.1/lib/molinillo/dependency_graph.rb +0 -266
- data/lib/bundler/vendor/Molinillo-0.2.1/lib/molinillo/errors.rb +0 -69
- data/lib/bundler/vendor/Molinillo-0.2.1/lib/molinillo/gem_metadata.rb +0 -3
- data/lib/bundler/vendor/Molinillo-0.2.1/lib/molinillo/resolution.rb +0 -412
- data/lib/bundler/vendor/Molinillo-0.2.1/lib/molinillo/state.rb +0 -43
- data/lib/bundler/vendor/thor-0.19.1/lib/thor/core_ext/io_binary_read.rb +0 -10
- data/lib/bundler/vendor/thor-0.19.1/lib/thor/core_ext/ordered_hash.rb +0 -98
- data/lib/bundler/vendor/thor-0.19.1/lib/thor/parser.rb +0 -4
data/man/bundle-config.ronn
CHANGED
@@ -7,10 +7,14 @@ bundle-config(1) -- Set bundler configuration options
|
|
7
7
|
|
8
8
|
## DESCRIPTION
|
9
9
|
|
10
|
-
This command allows you to interact with
|
11
|
-
|
12
|
-
|
13
|
-
|
10
|
+
This command allows you to interact with Bundler's configuration system.
|
11
|
+
|
12
|
+
Bundler loads configuration settings in this order:
|
13
|
+
|
14
|
+
1. Local config (`app/.bundle/config`)
|
15
|
+
2. Environmental variables (`ENV`)
|
16
|
+
3. Global config (`~/.bundle/config`)
|
17
|
+
4. Bundler default config
|
14
18
|
|
15
19
|
Executing `bundle config` with no parameters will print a list of all
|
16
20
|
bundler configuration for the current bundle, and where that configuration
|
@@ -35,9 +39,48 @@ local and global sources. Not compatible with --global or --local flag.
|
|
35
39
|
Executing bundle with the `BUNDLE_IGNORE_CONFIG` environment variable set will
|
36
40
|
cause it to ignore all configuration.
|
37
41
|
|
42
|
+
Executing `bundle config disable_multisource true` upgrades the warning about
|
43
|
+
the Gemfile containing multiple primary sources to an error. Executing `bundle
|
44
|
+
config --delete disable_multisource` downgrades this error to a warning.
|
45
|
+
|
46
|
+
## REMEMBERING OPTIONS
|
47
|
+
|
48
|
+
Flags passed to `bundle install` or the Bundler runtime,
|
49
|
+
such as `--path foo` or `--without production`, are not remembered between commands.
|
50
|
+
If these options must be remembered,they must be set using `bundle config`
|
51
|
+
(e.g., `bundle config path foo`).
|
52
|
+
|
53
|
+
The options that can be configured are:
|
54
|
+
|
55
|
+
* `bin`:
|
56
|
+
Creates a directory (defaults to `~/bin`) and place any executables from the
|
57
|
+
gem there. These executables run in Bundler's context. If used, you might add
|
58
|
+
this directory to your environment's `PATH` variable. For instance, if the
|
59
|
+
`rails` gem comes with a `rails` executable, this flag will create a
|
60
|
+
`bin/rails` executable that ensures that all referred dependencies will be
|
61
|
+
resolved using the bundled gems.
|
62
|
+
|
63
|
+
* `deployment`:
|
64
|
+
In deployment mode, Bundler will 'roll-out' the bundle for
|
65
|
+
`production` use. Please check carefully if you want to have this option
|
66
|
+
enabled in `development` or `test` environments.
|
67
|
+
|
68
|
+
* `path`:
|
69
|
+
The location to install the specified gems to. This defaults to Rubygems'
|
70
|
+
setting. Bundler shares this location with Rubygems, `gem install ...` will
|
71
|
+
have gem installed there, too. Therefore, gems installed without a
|
72
|
+
`--path ...` setting will show up by calling `gem list`. Accordingly, gems
|
73
|
+
installed to other locations will not get listed.
|
74
|
+
|
75
|
+
* `without`:
|
76
|
+
A space-separated list of groups referencing gems to skip during installation.
|
77
|
+
|
78
|
+
* `with`:
|
79
|
+
A space-separated list of groups referencing gems to include during installation.
|
80
|
+
|
38
81
|
## BUILD OPTIONS
|
39
82
|
|
40
|
-
You can use `bundle config` to give
|
83
|
+
You can use `bundle config` to give Bundler the flags to pass to the gem
|
41
84
|
installer every time bundler tries to install a particular gem.
|
42
85
|
|
43
86
|
A very common example, the `mysql` gem, requires Snow Leopard users to
|
@@ -59,12 +102,12 @@ After running this command, every time bundler needs to install the
|
|
59
102
|
Configuration keys in bundler have two forms: the canonical form and the
|
60
103
|
environment variable form.
|
61
104
|
|
62
|
-
For instance, passing the `--without` flag to [bundle install(1)]
|
105
|
+
For instance, passing the `--without` flag to [bundle install(1)](bundle-install.1.html)
|
63
106
|
prevents Bundler from installing certain groups specified in the Gemfile(5). Bundler
|
64
107
|
persists this value in `app/.bundle/config` so that calls to `Bundler.setup`
|
65
108
|
do not try to find gems from the `Gemfile` that you didn't install. Additionally,
|
66
|
-
subsequent calls to [bundle install(1)]
|
67
|
-
groups.
|
109
|
+
subsequent calls to [bundle install(1)](bundle-install.1.html) remember this setting
|
110
|
+
and skip those groups.
|
68
111
|
|
69
112
|
The canonical form of this configuration is `"without"`. To convert the canonical
|
70
113
|
form to the environment variable form, capitalize it, and prepend `BUNDLE_`. The
|
@@ -77,34 +120,175 @@ the environment variable `BUNDLE_LOCAL__RACK`.
|
|
77
120
|
## LIST OF AVAILABLE KEYS
|
78
121
|
|
79
122
|
The following is a list of all configuration keys and their purpose. You can
|
80
|
-
learn more about their operation in [bundle install(1)]
|
81
|
-
|
82
|
-
* `
|
83
|
-
|
84
|
-
|
85
|
-
* `
|
86
|
-
|
87
|
-
|
88
|
-
* `
|
89
|
-
|
123
|
+
learn more about their operation in [bundle install(1)](bundle-install.1.html).
|
124
|
+
|
125
|
+
* `allow_bundler_dependency_conflicts` (`BUNDLE_ALLOW_BUNDLER_DEPENDENCY_CONFLICTS`):
|
126
|
+
Allow resolving to specifications that have dependencies on `bundler` that
|
127
|
+
are incompatible with the running Bundler version.
|
128
|
+
* `allow_deployment_source_credential_changes` (`BUNDLE_ALLOW_DEPLOYMENT_SOURCE_CREDENTIAL_CHANGES`):
|
129
|
+
When in deployment mode, allow changing the credentials to a gem's source.
|
130
|
+
Ex: `https://some.host.com/gems/path/` -> `https://user_name:password@some.host.com/gems/path`
|
131
|
+
* `allow_offline_install` (`BUNDLE_ALLOW_OFFLINE_INSTALL`):
|
132
|
+
Allow Bundler to use cached data when installing without network access.
|
133
|
+
* `auto_clean_without_path` (`BUNDLE_AUTO_CLEAN_WITHOUT_PATH`):
|
134
|
+
Automatically run `bundle clean` after installing when an explicit `path`
|
135
|
+
has not been set and Bundler is not installing into the system gems.
|
136
|
+
* `auto_install` (`BUNDLE_AUTO_INSTALL`):
|
137
|
+
Automatically run `bundle install` when gems are missing.
|
90
138
|
* `bin` (`BUNDLE_BIN`):
|
91
|
-
|
92
|
-
|
139
|
+
Install executables from gems in the bundle to the specified directory.
|
140
|
+
Defaults to `false`.
|
141
|
+
* `cache_all` (`BUNDLE_CACHE_ALL`):
|
142
|
+
Cache all gems, including path and git gems.
|
143
|
+
* `cache_all_platforms` (`BUNDLE_CACHE_ALL_PLATFORMS`):
|
144
|
+
Cache gems for all platforms.
|
145
|
+
* `cache_path` (`BUNDLE_CACHE_PATH`):
|
146
|
+
The directory that bundler will place cached gems in when running
|
147
|
+
<code>bundle package</code>, and that bundler will look in when installing gems.
|
148
|
+
Defaults to `vendor/bundle`.
|
149
|
+
* `clean` (`BUNDLE_CLEAN`):
|
150
|
+
Whether Bundler should run `bundle clean` automatically after
|
151
|
+
`bundle install`.
|
152
|
+
* `console` (`BUNDLE_CONSOLE`):
|
153
|
+
The console that `bundle console` starts. Defaults to `irb`.
|
154
|
+
* `default_install_uses_path` (`BUNDLE_DEFAULT_INSTALL_USES_PATH`):
|
155
|
+
Whether a `bundle install` without an explicit `--path` argument defaults
|
156
|
+
to installing gems in `.bundle`.
|
157
|
+
* `deployment` (`BUNDLE_DEPLOYMENT`):
|
158
|
+
Disallow changes to the `Gemfile`. When the `Gemfile` is changed and the
|
159
|
+
lockfile has not been updated, running Bundler commands will be blocked.
|
160
|
+
* `disable_checksum_validation` (`BUNDLE_DISABLE_CHECKSUM_VALIDATION`):
|
161
|
+
Allow installing gems even if they do not match the checksum provided by
|
162
|
+
RubyGems.
|
163
|
+
* `disable_exec_load` (`BUNDLE_DISABLE_EXEC_LOAD`):
|
164
|
+
Stop Bundler from using `load` to launch an executable in-process in
|
165
|
+
`bundle exec`.
|
166
|
+
* `disable_local_branch_check` (`BUNDLE_DISABLE_LOCAL_BRANCH_CHECK`):
|
167
|
+
Allow Bundler to use a local git override without a branch specified in the
|
168
|
+
Gemfile.
|
169
|
+
* `disable_multisource` (`BUNDLE_DISABLE_MULTISOURCE`):
|
170
|
+
When set, Gemfiles containing multiple sources will produce errors
|
171
|
+
instead of warnings.
|
172
|
+
Use `bundle config --delete disable_multisource` to unset.
|
173
|
+
* `disable_platform_warnings` (`BUNDLE_DISABLE_PLATFORM_WARNINGS`):
|
174
|
+
Disable warnings during bundle install when a dependency is unused on the current platform.
|
175
|
+
* `disable_shared_gems` (`BUNDLE_DISABLE_SHARED_GEMS`):
|
176
|
+
Stop Bundler from accessing gems installed to RubyGems' normal location.
|
177
|
+
* `disable_version_check` (`BUNDLE_DISABLE_VERSION_CHECK`):
|
178
|
+
Stop Bundler from checking if a newer Bundler version is available on
|
179
|
+
rubygems.org.
|
180
|
+
* `error_on_stderr` (`BUNDLE_ERROR_ON_STDERR`):
|
181
|
+
Print Bundler errors to stderr.
|
182
|
+
* `force_ruby_platform` (`BUNDLE_FORCE_RUBY_PLATFORM`):
|
183
|
+
Ignore the current machine's platform and install only `ruby` platform gems.
|
184
|
+
As a result, gems with native extensions will be compiled from source.
|
185
|
+
* `frozen` (`BUNDLE_FROZEN`):
|
186
|
+
Disallow changes to the `Gemfile`. When the `Gemfile` is changed and the
|
187
|
+
lockfile has not been updated, running Bundler commands will be blocked.
|
188
|
+
Defaults to `true` when `--deployment` is used.
|
189
|
+
* `gem.push_key` (`BUNDLE_GEM__PUSH_KEY`):
|
190
|
+
Sets the `--key` parameter for `gem push` when using the `rake release`
|
191
|
+
command with a private gemstash server.
|
93
192
|
* `gemfile` (`BUNDLE_GEMFILE`):
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
193
|
+
The name of the file that bundler should use as the `Gemfile`. This location
|
194
|
+
of this file also sets the root of the project, which is used to resolve
|
195
|
+
relative paths in the `Gemfile`, among other things. By default, bundler
|
196
|
+
will search up from the current working directory until it finds a
|
197
|
+
`Gemfile`.
|
198
|
+
* `global_gem_cache` (`BUNDLE_GLOBAL_GEM_CACHE`):
|
199
|
+
Whether Bundler should cache all gems globally, rather than locally to the
|
200
|
+
installing Ruby installation.
|
201
|
+
* `global_path_appends_ruby_scope` (`BUNDLE_GLOBAL_PATH_APPENDS_RUBY_SCOPE`):
|
202
|
+
Whether Bundler should append the Ruby scope (e.g. engine and ABI version)
|
203
|
+
to a globally-configured path.
|
204
|
+
* `ignore_messages` (`BUNDLE_IGNORE_MESSAGES`): When set, no post install
|
205
|
+
messages will be printed. To silence a single gem, use dot notation like
|
206
|
+
`ignore_messages.httparty true`.
|
207
|
+
* `init_gems_rb` (`BUNDLE_INIT_GEMS_RB`)
|
208
|
+
Generate a `gems.rb` instead of a `Gemfile` when running `bundle init`.
|
209
|
+
* `jobs` (`BUNDLE_JOBS`):
|
210
|
+
The number of gems Bundler can install in parallel. Defaults to 1.
|
211
|
+
* `list_command` (`BUNDLE_LIST_COMMAND`)
|
212
|
+
Enable new list command feature
|
213
|
+
* `major_deprecations` (`BUNDLE_MAJOR_DEPRECATIONS`):
|
214
|
+
Whether Bundler should print deprecation warnings for behavior that will
|
215
|
+
be changed in the next major version.
|
216
|
+
* `no_install` (`BUNDLE_NO_INSTALL`):
|
217
|
+
Whether `bundle package` should skip installing gems.
|
218
|
+
* `no_prune` (`BUNDLE_NO_PRUNE`):
|
219
|
+
Whether Bundler should leave outdated gems unpruned when caching.
|
220
|
+
* `only_update_to_newer_versions` (`BUNDLE_ONLY_UPDATE_TO_NEWER_VERSIONS`):
|
221
|
+
During `bundle update`, only resolve to newer versions of the gems in the
|
222
|
+
lockfile.
|
223
|
+
* `path` (`BUNDLE_PATH`):
|
224
|
+
The location on disk where all gems in your bundle will be located regardless
|
225
|
+
of `$GEM_HOME` or `$GEM_PATH` values. Bundle gems not found in this location
|
226
|
+
will be installed by `bundle install`. Defaults to `Gem.dir`. When --deployment
|
227
|
+
is used, defaults to vendor/bundle.
|
228
|
+
* `path.system` (`BUNDLE_PATH__SYSTEM`):
|
229
|
+
Whether Bundler will install gems into the default system path (`Gem.dir`).
|
230
|
+
* `path_relative_to_cwd` (`PATH_RELATIVE_TO_CWD`)
|
231
|
+
Makes `--path` relative to the CWD instead of the `Gemfile`.
|
232
|
+
* `plugins` (`BUNDLE_PLUGINS`):
|
233
|
+
Enable Bundler's experimental plugin system.
|
234
|
+
* `prefer_gems_rb` (`BUNDLE_PREFER_GEMS_RB`)
|
235
|
+
Prefer `gems.rb` to `Gemfile` when Bundler is searching for a Gemfile.
|
236
|
+
* `print_only_version_number` (`BUNDLE_PRINT_ONLY_VERSION_NUMBER`)
|
237
|
+
Print only version number from `bundler --version`.
|
238
|
+
* `redirect` (`BUNDLE_REDIRECT`):
|
239
|
+
The number of redirects allowed for network requests. Defaults to `5`.
|
240
|
+
* `retry` (`BUNDLE_RETRY`):
|
241
|
+
The number of times to retry failed network requests. Defaults to `3`.
|
242
|
+
* `setup_makes_kernel_gem_public` (`BUNDLE_SETUP_MAKES_KERNEL_GEM_PUBLIC`):
|
243
|
+
Have `Bundler.setup` make the `Kernel#gem` method public, even though
|
244
|
+
RubyGems declares it as private.
|
245
|
+
* `shebang` (`BUNDLE_SHEBANG`):
|
246
|
+
The program name that should be invoked for generated binstubs. Defaults to
|
247
|
+
the ruby install name used to generate the binstub.
|
248
|
+
* `silence_root_warning` (`BUNDLE_SILENCE_ROOT_WARNING`):
|
249
|
+
Silence the warning Bundler prints when installing gems as root.
|
250
|
+
* `skip_default_git_sources` (`BUNDLE_SKIP_DEFAULT_GIT_SOURCES`):
|
251
|
+
Whether Bundler should skip adding default git source shortcuts to the
|
252
|
+
Gemfile DSL.
|
253
|
+
* `specific_platform` (`BUNDLE_SPECIFIC_PLATFORM`):
|
254
|
+
Allow bundler to resolve for the specific running platform and store it in
|
255
|
+
the lockfile, instead of only using a generic platform.
|
256
|
+
A specific platform is the exact platform triple reported by
|
257
|
+
`Gem::Platform.local`, such as `x86_64-darwin-16` or `universal-java-1.8`.
|
258
|
+
On the other hand, generic platforms are those such as `ruby`, `mswin`, or
|
259
|
+
`java`. In this example, `x86_64-darwin-16` would map to `ruby` and
|
260
|
+
`universal-java-1.8` to `java`.
|
99
261
|
* `ssl_ca_cert` (`BUNDLE_SSL_CA_CERT`):
|
100
|
-
|
101
|
-
|
262
|
+
Path to a designated CA certificate file or folder containing multiple
|
263
|
+
certificates for trusted CAs in PEM format.
|
102
264
|
* `ssl_client_cert` (`BUNDLE_SSL_CLIENT_CERT`):
|
103
|
-
|
104
|
-
|
265
|
+
Path to a designated file containing a X.509 client certificate
|
266
|
+
and key in PEM format.
|
267
|
+
* `ssl_verify_mode` (`BUNDLE_SSL_VERIFY_MODE`):
|
268
|
+
The SSL verification mode Bundler uses when making HTTPS requests.
|
269
|
+
Defaults to verify peer.
|
270
|
+
* `suppress_install_using_messages` (`BUNDLE_SUPPRESS_INSTALL_USING_MESSAGES`):
|
271
|
+
Avoid printing `Using ...` messages during installation when the version of
|
272
|
+
a gem has not changed.
|
273
|
+
* `system_bindir` (`BUNDLE_SYSTEM_BINDIR`):
|
274
|
+
The location where RubyGems installs binstubs. Defaults to `Gem.bindir`.
|
275
|
+
* `timeout` (`BUNDLE_TIMEOUT`):
|
276
|
+
The seconds allowed before timing out for network requests. Defaults to `10`.
|
277
|
+
* `unlock_source_unlocks_spec` (`BUNDLE_UNLOCK_SOURCE_UNLOCKS_SPEC`):
|
278
|
+
Whether running `bundle update --source NAME` unlocks a gem with the given
|
279
|
+
name. Defaults to `true`.
|
280
|
+
* `update_requires_all_flag` (`BUNDLE_UPDATE_REQUIRES_ALL_FLAG`)
|
281
|
+
Require passing `--all` to `bundle update` when everything should be updated,
|
282
|
+
and disallow passing no options to `bundle update`.
|
283
|
+
* `user_agent` (`BUNDLE_USER_AGENT`):
|
284
|
+
The custom user agent fragment Bundler includes in API requests.
|
285
|
+
* `with` (`BUNDLE_WITH`):
|
286
|
+
A `:`-separated list of groups whose gems bundler should install.
|
287
|
+
* `without` (`BUNDLE_WITHOUT`):
|
288
|
+
A `:`-separated list of groups whose gems bundler should not install.
|
105
289
|
|
106
290
|
In general, you should set these settings per-application by using the applicable
|
107
|
-
flag to the [bundle install(1)]
|
291
|
+
flag to the [bundle install(1)](bundle-install.1.html) or [bundle package(1)](bundle-package.1.html) command.
|
108
292
|
|
109
293
|
You can set them globally either via environment variables or `bundle config`,
|
110
294
|
whichever is preferable for your setup. If you use both, environment variables
|
@@ -130,6 +314,7 @@ revision in the `Gemfile.lock` to the local git repo revision. This
|
|
130
314
|
requires the same attention as git submodules. Before pushing to
|
131
315
|
the remote, you need to ensure the local override was pushed, otherwise
|
132
316
|
you may point to a commit that only exists in your local machine.
|
317
|
+
You'll also need to CGI escape your usernames and passwords as well.
|
133
318
|
|
134
319
|
Bundler does many checks to ensure a developer won't work with
|
135
320
|
invalid references. Particularly, we force a developer to specify
|
@@ -151,10 +336,23 @@ mirror to fetch gems.
|
|
151
336
|
|
152
337
|
bundle config mirror.SOURCE_URL MIRROR_URL
|
153
338
|
|
154
|
-
For example, to use a mirror of rubygems.org hosted at
|
339
|
+
For example, to use a mirror of rubygems.org hosted at rubygems-mirror.org:
|
155
340
|
|
156
341
|
bundle config mirror.http://rubygems.org http://rubygems-mirror.org
|
157
342
|
|
343
|
+
Each mirror also provides a fallback timeout setting. If the mirror does not
|
344
|
+
respond within the fallback timeout, Bundler will try to use the original
|
345
|
+
server instead of the mirror.
|
346
|
+
|
347
|
+
bundle config mirror.SOURCE_URL.fallback_timeout TIMEOUT
|
348
|
+
|
349
|
+
For example, to fall back to rubygems.org after 3 seconds:
|
350
|
+
|
351
|
+
bundle config mirror.https://rubygems.org.fallback_timeout 3
|
352
|
+
|
353
|
+
The default fallback timeout is 0.1 seconds, but the setting can currently
|
354
|
+
only accept whole seconds (for example, 1, 15, or 30).
|
355
|
+
|
158
356
|
## CREDENTIALS FOR GEM SOURCES
|
159
357
|
|
160
358
|
Bundler allows you to configure credentials for any gem source, which allows
|
@@ -170,3 +368,30 @@ For example, to save the credentials of user `claudette` for the gem source at
|
|
170
368
|
Or you can set the credentials as an environment variable like this:
|
171
369
|
|
172
370
|
export BUNDLE_GEMS__LONGEROUS__COM="claudette:s00pers3krit"
|
371
|
+
|
372
|
+
For gems with a git source with HTTP(S) URL you can specify credentials like so:
|
373
|
+
|
374
|
+
bundle config https://github.com/bundler/bundler.git username:password
|
375
|
+
|
376
|
+
Or you can set the credentials as an environment variable like so:
|
377
|
+
|
378
|
+
export BUNDLE_GITHUB__COM=username:password
|
379
|
+
|
380
|
+
This is especially useful for private repositories on hosts such as Github,
|
381
|
+
where you can use personal OAuth tokens:
|
382
|
+
|
383
|
+
export BUNDLE_GITHUB__COM=abcd0123generatedtoken:x-oauth-basic
|
384
|
+
|
385
|
+
|
386
|
+
## CONFIGURE BUNDLER DIRECTORIES
|
387
|
+
|
388
|
+
Bundler's home, config, cache and plugin directories are able to be configured
|
389
|
+
through environment variables. The default location for Bundler's home directory is
|
390
|
+
`~/.bundle`, which all directories inherit from by default. The following
|
391
|
+
outlines the available environment variables and their default values
|
392
|
+
|
393
|
+
BUNDLE_USER_HOME : $HOME/.bundle
|
394
|
+
BUNDLE_USER_CACHE : $BUNDLE_USER_HOME/cache
|
395
|
+
BUNDLE_USER_CONFIG : $BUNDLE_USER_HOME/config
|
396
|
+
BUNDLE_USER_PLUGIN : $BUNDLE_USER_HOME/plugin
|
397
|
+
|
data/man/bundle-doctor.1
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
.\" generated with Ronn/v0.7.3
|
2
|
+
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
|
+
.
|
4
|
+
.TH "BUNDLE\-DOCTOR" "1" "November 2018" "" ""
|
5
|
+
.
|
6
|
+
.SH "NAME"
|
7
|
+
\fBbundle\-doctor\fR \- Checks the bundle for common problems
|
8
|
+
.
|
9
|
+
.SH "SYNOPSIS"
|
10
|
+
\fBbundle doctor\fR [\-\-quiet] [\-\-gemfile=GEMFILE]
|
11
|
+
.
|
12
|
+
.SH "DESCRIPTION"
|
13
|
+
Checks your Gemfile and gem environment for common problems\. If issues are detected, Bundler prints them and exits status 1\. Otherwise, Bundler prints a success message and exits status 0\.
|
14
|
+
.
|
15
|
+
.P
|
16
|
+
Examples of common problems caught by bundle\-doctor include:
|
17
|
+
.
|
18
|
+
.IP "\(bu" 4
|
19
|
+
Invalid Bundler settings
|
20
|
+
.
|
21
|
+
.IP "\(bu" 4
|
22
|
+
Mismatched Ruby versions
|
23
|
+
.
|
24
|
+
.IP "\(bu" 4
|
25
|
+
Mismatched platforms
|
26
|
+
.
|
27
|
+
.IP "\(bu" 4
|
28
|
+
Uninstalled gems
|
29
|
+
.
|
30
|
+
.IP "\(bu" 4
|
31
|
+
Missing dependencies
|
32
|
+
.
|
33
|
+
.IP "" 0
|
34
|
+
.
|
35
|
+
.SH "OPTIONS"
|
36
|
+
.
|
37
|
+
.TP
|
38
|
+
\fB\-\-quiet\fR
|
39
|
+
Only output warnings and errors\.
|
40
|
+
.
|
41
|
+
.TP
|
42
|
+
\fB\-\-gemfile=<gemfile>\fR
|
43
|
+
The location of the Gemfile(5) which Bundler should use\. This defaults to a Gemfile(5) in the current working directory\. In general, Bundler will assume that the location of the Gemfile(5) is also the project\'s root and will try to find \fBGemfile\.lock\fR and \fBvendor/cache\fR relative to this location\.
|
44
|
+
|
@@ -0,0 +1,44 @@
|
|
1
|
+
BUNDLE-DOCTOR(1) BUNDLE-DOCTOR(1)
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
NAME
|
6
|
+
bundle-doctor - Checks the bundle for common problems
|
7
|
+
|
8
|
+
SYNOPSIS
|
9
|
+
bundle doctor [--quiet] [--gemfile=GEMFILE]
|
10
|
+
|
11
|
+
DESCRIPTION
|
12
|
+
Checks your Gemfile and gem environment for common problems. If issues
|
13
|
+
are detected, Bundler prints them and exits status 1. Otherwise,
|
14
|
+
Bundler prints a success message and exits status 0.
|
15
|
+
|
16
|
+
Examples of common problems caught by bundle-doctor include:
|
17
|
+
|
18
|
+
o Invalid Bundler settings
|
19
|
+
|
20
|
+
o Mismatched Ruby versions
|
21
|
+
|
22
|
+
o Mismatched platforms
|
23
|
+
|
24
|
+
o Uninstalled gems
|
25
|
+
|
26
|
+
o Missing dependencies
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
OPTIONS
|
31
|
+
--quiet
|
32
|
+
Only output warnings and errors.
|
33
|
+
|
34
|
+
--gemfile=<gemfile>
|
35
|
+
The location of the Gemfile(5) which Bundler should use. This
|
36
|
+
defaults to a Gemfile(5) in the current working directory. In
|
37
|
+
general, Bundler will assume that the location of the Gemfile(5)
|
38
|
+
is also the project's root and will try to find Gemfile.lock and
|
39
|
+
vendor/cache relative to this location.
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
November 2018 BUNDLE-DOCTOR(1)
|
@@ -0,0 +1,33 @@
|
|
1
|
+
bundle-doctor(1) -- Checks the bundle for common problems
|
2
|
+
=========================================================
|
3
|
+
|
4
|
+
## SYNOPSIS
|
5
|
+
|
6
|
+
`bundle doctor` [--quiet]
|
7
|
+
[--gemfile=GEMFILE]
|
8
|
+
|
9
|
+
## DESCRIPTION
|
10
|
+
|
11
|
+
Checks your Gemfile and gem environment for common problems. If issues
|
12
|
+
are detected, Bundler prints them and exits status 1. Otherwise,
|
13
|
+
Bundler prints a success message and exits status 0.
|
14
|
+
|
15
|
+
Examples of common problems caught by bundle-doctor include:
|
16
|
+
|
17
|
+
* Invalid Bundler settings
|
18
|
+
* Mismatched Ruby versions
|
19
|
+
* Mismatched platforms
|
20
|
+
* Uninstalled gems
|
21
|
+
* Missing dependencies
|
22
|
+
|
23
|
+
## OPTIONS
|
24
|
+
|
25
|
+
* `--quiet`:
|
26
|
+
Only output warnings and errors.
|
27
|
+
|
28
|
+
* `--gemfile=<gemfile>`:
|
29
|
+
The location of the Gemfile(5) which Bundler should use. This defaults
|
30
|
+
to a Gemfile(5) in the current working directory. In general, Bundler
|
31
|
+
will assume that the location of the Gemfile(5) is also the project's
|
32
|
+
root and will try to find `Gemfile.lock` and `vendor/cache` relative
|
33
|
+
to this location.
|