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 for information on getting
started, and Gemfile(5) for more information on the Gemfile
format.
--no-color
--verbose
We divide bundle
subcommands into primary commands and utilities.
bundle install(1)
Gemfile
or Gemfile.lock
bundle update(1)
bundle package(1)
vendor/cache
directorybundle exec(1)
bundle config(1)
bundle help(1)
bundle check(1)
bundle show(1)
bundle outdated(1)
][bundle-outdated]bundle console(1)
bundle open(1)
bundle lock(1)
][bundle-lock]bundle viz(1)
bundle init(1)
Gemfile
, placed in the current directorybundle gem(1)
bundle platform(1)
bundle clean(1)
bundle doctor(1)
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.
Bundler includes a feature called trampolining, designed to allow a single developer to work on multiple projects, each on different Bundler versions. The trampoline will infer the correct version of Bundler to use for each project and load that version instead of the version directly invoked (which is almost always the newest version installed locally).
Bundler by default will use the Bundler version in the current directory to
determine the version to trampoline to, reading from the BUNDLED WITH
section.
However, if the BUNDLER_VERSION
environment variable is set, that version will
override the lockfile inference and can be used in directories without a
lockfile.
Until the target version is Bundler 2 or later, BUNDLE_TRAMPOLINE_FORCE
must
be set for the trampoline to be used. Additionally, BUNDLE_TRAMPOLINE_DISABLE
can
be set to completely disable the trampoline.
These commands are obsolete and should no longer be used
bundle cache(1)
bundle list(1)