BUNDLE-REMOVE(1) General Commands Manual BUNDLE-REMOVE(1)

# [NAME](#NAME)

**bundle-remove** - Removes gems from the Gemfile

# [SYNOPSIS](#SYNOPSIS)

\`bundle remove \[GEM \[GEM ...]]

# [DESCRIPTION](#DESCRIPTION)

Removes the given gems from the Gemfile while ensuring that the resulting Gemfile is still valid. If a gem cannot be removed, a warning is printed. If a gem is already absent from the Gemfile, and error is raised.

Example:

bundle remove rails

bundle remove rails rack

April 2026

---

Document: bundle-remove(1) from ruby4.0-bundler 4.0.22-r0 (Chainguard OS)
Source: https://github.com/rubygems/rubygems
