man > bundle-remove(1)

BUNDLE-REMOVE(1)                                                                    BUNDLE-REMOVE(1)

NAME
       bundle-remove - Removes gems from the Gemfile

SYNOPSIS
       bundle remove [GEM [GEM ...]] [--install]

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.

OPTIONS
       --install
              Runs bundle install after the given gems have been removed from the Gemfile, which en‐
              sures that both the lockfile and the installed gems on disk are also updated to remove
              the given gem(s).

       Example:

       bundle remove rails

       bundle remove rails rack

       bundle remove rails rack --install

                                             August 2023                            BUNDLE-REMOVE(1)

Generated by phpman v4.12.11 · Markdown · JSON Author: Che Dong Under GNU General Public License
2026-10-21 00:05 @216.73.217.130
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!