BUNDLE-REMOVE(1)
π NAME π
bundle-remove β the little command that removes gems from the Gemfile πβ¨
okay so real quick, this one lives in the General Commands Manual section of the bundle family, she's manual page BUNDLE-REMOVE(1), and she is so good at what she does bestie, no cap π«Ά
π¦ SYNOPSIS π¦
`bundle remove [GEM [GEM ...]]
(yeah the backticks are literally part of the original, we keep them, we don't ask questions π)
β¨ DESCRIPTION β¨
So here's the tea, bestie π β bundle remove takes the gems you name and removes them from the Gemfile, and while she's doing it she makes sure the Gemfile that's left behind is still valid. That's the whole vibe. Clean exit, valid file, main character energy π
But listen, there's some lore you need before you run her:
- If a gem cannot be removed, she prints a warning. Not a meltdown, just a heads up, okay? π
- If a gem is already absent from the Gemfile, an error is raised. So likeβ¦ don't come for a gem that already left the group chat, she WILL call you out π
πΈ Example πΈ
Like, for real for real:
bundle remove rails
bundle remove rails rack
see how you can just stack them up? multiple gems, one command, one slay π β¨
tiny reminder bestie:</> the second example removes bothrailsandrackin a single go, so don't be shy about passing a whole list π«Ά
and that's the page!! mwah π this was BUNDLE-REMOVE(1), from the General Commands Manual, dated April 2026 β go forth and edit that Gemfile, you gorgeous genius, iykyk πβ
π¦ where this page comes from
- centos-stream 9: rubygem-bundler 4.0.16-35.module_el9+1443+8853c6a2 Β· MIT AND (Ruby OR BSD-2-Clause)
- fedora 44: rubygem-bundler 4.0.20-39.fc44
- fedora 44: rubygem-bundler 4.0.20-40.fc44 Β· MIT AND (Ruby OR BSD-2-Clause)
- ubuntu stonking: ruby-bundler 4.0.18-1 Β· MIT OR Custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms