BUNDLE-DOCTOR(1)
π BUNDLE-DOCTOR
okay bestie, welcome to bundle-doctor β the little checkup your Bundler setup has been begging for. It's a General Commands Manual situation, and it lives in the bundle family, so you already know it's gonna be useful. It checks the bundle for common problems. that's it. that's the whole job. and it eats. π©Ίβ¨
πΈ SYNOPSIS
bundle doctor [diagnose] [--quiet] [--gemfile=GEMFILE] [--ssl]
bundle doctor ssl [--host=HOST] [--tls-version=TLS-VERSION]
[--verify-mode=VERIFY-MODE]
bundle doctor help [COMMAND]
π«Ά DESCRIPTION
so like, this command exists so you can diagnose common Bundler problems without spiraling. we're talking gem environment stuff, SSL/TLS drama, all of it. no cap, it's the vibe check your project needs.
π SUB-COMMANDS
β¨ diagnose (default command)
this is the main character. it checks your Gemfile and your gem environment for common problems. if issues get detected, Bundler prints them and exits status 1. otherwise, Bundler prints a success message and exits status 0. periodt.
examples of common problems caught include:
- Invalid Bundler settings
- Mismatched Ruby versions
- Mismatched platforms
- Uninstalled gems
- Missing dependencies
π OPTIONS
--quietβ only output warnings and errors. if you're not in the mood for the whole essay, this is your girl.--gemfile=GEMFILEβ the location of theGemfile(5)which Bundler should use. this defaults to aGemfile(5)in the current working directory. in general, Bundler will assume that the location of theGemfile(5)is also the project's root and will try to findGemfile.lockandvendor/cacherelative to this location. ποΈ--sslβ diagnose common SSL problems when connecting tohttps://rubygems.org.
This flag runs the bundle doctor ssl subcommand with default values underneath. sneaky! iconic! one flag doing two jobs.
π¦ ssl
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:
- Verify the Ruby OpenSSL version installed on your system.
- Check the OpenSSL library version used for compilation.
- Ensure CA certificates are correctly setup on your machine.
- Open a TLS connection and verify the outcome.
π OPTIONS
--host=HOSTβ perform the diagnostic on HOST. defaults torubygems.org.--tls-version=TLS-VERSIONβ specify the TLS version when opening the connection to HOST.
Accepted values are: 1.1 or 1.2. (yes, exactly those, don't get creative π)
--verify-mode=VERIFY-MODEβ specify the TLS verify mode when opening the connection to HOST. defaults toSSL_VERIFY_PEER.
Accepted values are: CLIENT_ONCE, FAIL_IF_NO_PEER_CERT, NONE, PEER.
lowkey a PSA: that NONE verify mode up there? it means exactly what it sounds like β no peer verification. the manpage just lists it as an accepted value, so we're not out here adding lore, but bestieβ¦ read the room before you reach for it. π©
okay that's the whole page, you're so welcome π₯° this one's dated April 2026, and it's from the General Commands Manual for BUNDLE-DOCTOR(1) β go forth and be diagnostically slay, mwah π π
π¦ where this page comes from
- centos-stream 10: ruby4.0 4.0.6-37.el10 Β· (Ruby OR BSD-2-Clause) AND (Ruby OR BSD-2-Clause OR GPL-1.0-or-later) AND BSD-3-Clause AND (GPL-3.0-or-later WITH Bison-exception-2.2) AND ISC AND LicenseRef-Fedora-Public-Domain AND MIT AND CC0-1.0 AND zlib AND Unicode-DFS-2015 AND HPND-Markus-Kuhn AND Ruby-pty AND (Ruby OR BSD-2-Clause OR Python-2.0.1) AND BSD-2-Clause AND (Apache-2.0 OR BSL-1.0) AND GPL-2.0-only AND CC-BY-2.5 AND OFL-1.1-RFN AND BSL-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms