BUNDLE-REMOVE(1)

πŸ“¦ version 4.0.6, in centos-stream 10

πŸ’… 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 both rails and rack in 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 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