OS Manuals

bundle-remove(1)

bundle-remove - Removes gems from the Gemfile

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

bundle-remove - Removes gems from the Gemfile

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

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

ruby4.0-bundler 4.0.17-r1 · os · ingested 2026-09-30