# bundle - man(1) - [phpMan]

> **TLDR:** Dependency manager for the Ruby programming language.
>
- Install all gems defined in the `Gemfile` expected in the working directory:
  `bundle install`
- Execute a command in the context of the current bundle:
  `bundle exec {{command}} {{arguments}}`
- Update all gems by the rules defined in the `Gemfile` and regenerate `Gemfile.lock`:
  `bundle update --all`
- Update one or more specific gem(s) defined in the `Gemfile`:
  `bundle update {{gem_name1 gem_name2 ...}}`
- Update one or more specific gems(s) defined in the `Gemfile` but only to the next patch version:
  `bundle update --patch {{gem_name1 gem_name2 ...}}`
- Update all gems within the given group in the `Gemfile`:
  `bundle update --group {{development}}`
- List installed gems in the `Gemfile` with newer versions available:
  `bundle outdated`
- Create a new gem skeleton:
  `bundle gem {{gem_name}}`

*Source: tldr-pages*

---

[_BUNDLE_(1)](https://www.chedong.com/phpMan.php/man/BUNDLE/1/markdown)                                                                                  [_BUNDLE_(1)](https://www.chedong.com/phpMan.php/man/BUNDLE/1/markdown)

## NAME
       **bundle **- Ruby Dependency Management

## SYNOPSIS
       **bundle **COMMAND [--no-color] [--verbose] [ARGS]

## DESCRIPTION
       Bundler  manages  an  **application´s dependencies **through its entire life across many machines
       systematically and repeatably.

       See the bundler website _<https://bundler.io_> for information on getting started, and [Gemfile(5)](https://www.chedong.com/phpMan.php/man/Gemfile/5/markdown)
       for more information on the **Gemfile **format.

## OPTIONS
### --no-color
              Print all output without color

       **--retry**, **-r**
              Specify the number of times you wish to attempt network commands

       **--verbose**, **-V**
              Print out additional logging information

## BUNDLE COMMANDS
       We divide **bundle **subcommands into primary commands and utilities:

## PRIMARY COMMANDS
       **bundle [install(1)](https://www.chedong.com/phpMan.php/man/install/1/markdown) _**bundle-install.1.html_
              Install the gems specified by the **Gemfile **or **Gemfile.lock**

       **bundle [update(1)](https://www.chedong.com/phpMan.php/man/update/1/markdown) _**bundle-update.1.html_
              Update dependencies to their latest versions

       **bundle [cache(1)](https://www.chedong.com/phpMan.php/man/cache/1/markdown) _**bundle-cache.1.html_
              Package the .gem files required by your application into  the  **vendor/cache  **directory
              (aliases: **bundle package**, **bundle pack**)

       **bundle [exec(1)](https://www.chedong.com/phpMan.php/man/exec/1/markdown) _**bundle-exec.1.html_
              Execute a script in the current bundle

       **bundle [config(1)](https://www.chedong.com/phpMan.php/man/config/1/markdown) _**bundle-config.1.html_
              Specify and read configuration options for Bundler

       **bundle [help(1)](https://www.chedong.com/phpMan.php/man/help/1/markdown) _**bundle-help.1.html_
              Display detailed help for each subcommand

## UTILITIES
       **bundle [add(1)](https://www.chedong.com/phpMan.php/man/add/1/markdown) _**bundle-add.1.html_
              Add the named gem to the Gemfile and run **bundle install**

       **bundle [binstubs(1)](https://www.chedong.com/phpMan.php/man/binstubs/1/markdown) _**bundle-binstubs.1.html_
              Generate binstubs for executables in a gem

       **bundle [check(1)](https://www.chedong.com/phpMan.php/man/check/1/markdown) _**bundle-check.1.html_
              Determine whether the requirements for your application are installed and available to
              Bundler

       **bundle [show(1)](https://www.chedong.com/phpMan.php/man/show/1/markdown) _**bundle-show.1.html_
              Show the source location of a particular gem in the bundle

       **bundle [outdated(1)](https://www.chedong.com/phpMan.php/man/outdated/1/markdown) _**bundle-outdated.1.html_
              Show all of the outdated gems in the current bundle

### bundle [console(1)](https://www.chedong.com/phpMan.php/man/console/1/markdown) (deprecated)
              Start an IRB session in the current bundle

       **bundle [open(1)](https://www.chedong.com/phpMan.php/man/open/1/markdown) _**bundle-open.1.html_
              Open an installed gem in the editor

       **bundle [lock(1)](https://www.chedong.com/phpMan.php/man/lock/1/markdown) _**bundle-lock.1.html_
              Generate a lockfile for your dependencies

       **bundle [viz(1)](https://www.chedong.com/phpMan.php/man/viz/1/markdown) _**bundle-viz.1.html_ (deprecated)
              Generate a visual representation of your dependencies

       **bundle [init(1)](https://www.chedong.com/phpMan.php/man/init/1/markdown) _**bundle-init.1.html_
              Generate a simple **Gemfile**, placed in the current directory

       **bundle [gem(1)](https://www.chedong.com/phpMan.php/man/gem/1/markdown) _**bundle-gem.1.html_
              Create a simple gem, suitable for development with Bundler

       **bundle [platform(1)](https://www.chedong.com/phpMan.php/man/platform/1/markdown) _**bundle-platform.1.html_
              Display platform compatibility information

       **bundle [clean(1)](https://www.chedong.com/phpMan.php/man/clean/1/markdown) _**bundle-clean.1.html_
              Clean up unused gems in your Bundler directory

       **bundle [doctor(1)](https://www.chedong.com/phpMan.php/man/doctor/1/markdown) _**bundle-doctor.1.html_
              Display warnings about common problems

       **bundle [remove(1)](https://www.chedong.com/phpMan.php/man/remove/1/markdown) _**bundle-remove.1.html_
              Removes gems from the Gemfile

       **bundle [plugin(1)](https://www.chedong.com/phpMan.php/man/plugin/1/markdown) _**bundle-plugin.1.html_
              Manage Bundler plugins

       **bundle [version(1)](https://www.chedong.com/phpMan.php/man/version/1/markdown) _**bundle-version.1.html_
              Prints Bundler version information

## PLUGINS
       When  running  a command that isn´t listed in PRIMARY COMMANDS or UTILITIES, Bundler will try
       to find an executable on your path named **bundler-<command> **and execute it, passing  down  any
       extra arguments to it.

## OBSOLETE
       These commands are obsolete and should no longer be used:

       •   **bundle [inject(1)](https://www.chedong.com/phpMan.php/man/inject/1/markdown)**




                                             August 2023                                   [_BUNDLE_(1)](https://www.chedong.com/phpMan.php/man/BUNDLE/1/markdown)
