Scroll to navigation

BUNDLE(1) General Commands Manual BUNDLE(1)

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

OPTIONS

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

BUNDLE COMMANDS

We divide bundle subcommands into primary commands and utilities:

PRIMARY COMMANDS

install(1) bundle-install.1.html
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)
exec(1) bundle-exec.1.html
Execute a script in the current bundle
Specify and read configuration options for Bundler
help(1) bundle-help.1.html
Display detailed help for each subcommand

UTILITIES

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
init(1) bundle-init.1.html
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
version(1) 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)

December 2023