bundle-doctor
- Checks the bundle for common problems
bundle doctor [diagnose]
[--quiet] [--gemfile=GEMFILE] [--ssl]
bundle doctor ssl
[--host=HOST] [--tls-version=VERSION] [--verify-mode=MODE]
bundle doctor
help [COMMAND]
You can diagnose common Bundler problems with this command such as checking gem environment or SSL/TLS issue.
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.
Examples of common problems caught include:
OPTIONS
--quiet
--gemfile=GEMFILE
Gemfile.lock
and vendor/cache
relative
to this location.--ssl
This flag runs the bundle doctor ssl
subcommand with default values
underneath.
If you've experienced issues related to SSL certificates and/or TLS versions while connecting to https://rubygems.org, this command can help troubleshoot common problems. The diagnostic will perform a few checks such as:
OPTIONS
--host=HOST
rubygems.org
.--tls-version=VERSION
Accepted values are: 1.1
or 1.2
.
--verify-mode=MODE
SSL_VERIFY_PEER
.
Accepted values are: CLIENT_ONCE
, FAIL_IF_NO_PEER_CERT
, NONE
, PEER
.