Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, February 9, 2022
 
 

bundle-remove (1)

Name

bundle-remove - Removes gems from the Gemfile

Synopsis

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

Description

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 result-
       ing 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  ensures  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



ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | runtime/ruby-26  |
       +---------------+------------------+
       |Stability      | Uncommitted      |
       +---------------+------------------+

NOTES
       Source  code  for open source software components in Oracle Solaris can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This     software     was    built    from    source    available    at
       https://github.com/oracle/solaris-userland.   The  original   community
       source        was       downloaded       from        http://cache.ruby-
       lang.org/pub/ruby/2.6/ruby-2.6.8.tar.gz.

       Further information about this software can be found on the open source
       community website at http://www.ruby-lang.org/.



                                 November 2018                BUNDLE-REMOVE(1)