bundle-doctor - Checks the bundle for common problems
bundle doctor [diagnose][--quiet] [--gemfile=GEMFILE] [--ssl]
bundle doctor ssl[--host=HOST] [--tls-version=TLS-VERSION] [--verify-mode=VERIFY-MODE]
bundle doctorhelp [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=GEMFILEGemfile.lock and vendor/cache relative
to this location.--sslThis 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=HOSTrubygems.org.--tls-version=TLS-VERSIONAccepted values are: 1.1 or 1.2.
--verify-mode=VERIFY-MODESSL_VERIFY_PEER.
Accepted values are: CLIENT_ONCE, FAIL_IF_NO_PEER_CERT, NONE, PEER.