BUNDLE(1) General Commands Manual BUNDLE(1)

bundle - Ruby Dependency Management

bundle COMMAND [--no-color] [--verbose] [ARGS]

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) for more information on the Gemfile format.

Print all output without color
Specify the number of times you wish to attempt network commands
Print out additional logging information

We divide bundle subcommands into primary commands and utilities:

Install the gems specified by the Gemfile or Gemfile.lock
Update dependencies to their latest versions
Package the .gem files required by your application into the vendor/cache directory (aliases: bundle package, bundle pack)
Execute a script in the current bundle
Specify and read configuration options for Bundler
Display detailed help for each subcommand

Add the named gem to the Gemfile and run bundle install
Generate binstubs for executables in a gem
Determine whether the requirements for your application are installed and available to Bundler
Show the source location of a particular gem in the bundle
Show all of the outdated gems in the current bundle
Start an IRB session in the current bundle
Open an installed gem in the editor
Generate a lockfile for your dependencies
Generate a visual representation of your dependencies
Generate a simple Gemfile, placed in the current directory
Create a simple gem, suitable for development with Bundler
Display platform compatibility information
Clean up unused gems in your Bundler directory
Display warnings about common problems
Removes gems from the Gemfile
Manage Bundler plugins
Prints Bundler version information

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.

These commands are obsolete and should no longer be used:

bundle inject(1)
December 2023