bundle-inject(1) -- Add named gem(s) with version requirements to Gemfile
=========================================================================
## SYNOPSIS
`bundle inject` [GEM] [VERSION]
## DESCRIPTION
Adds the named gem(s) with their version requirements to the resolved
[`Gemfile(5)`][Gemfile(5)].
This command will add the gem to both your [`Gemfile(5)`][Gemfile(5)] and Gemfile.lock if it
isn't listed yet.
Example:
bundle install
bundle inject 'rack' '> 0'
This will inject the 'rack' gem with a version greater than 0 in your
[`Gemfile(5)`][Gemfile(5)] and Gemfile.lock.
The `bundle inject` command was deprecated in Bundler 2.1 and will be removed in Bundler 3.0.
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| bundle-add.1 | File | 1.8 KB | 0644 |
|
| bundle-add.1.ronn | File | 1.52 KB | 0644 |
|
| bundle-binstubs.1 | File | 1.58 KB | 0644 |
|
| bundle-binstubs.1.ronn | File | 1.38 KB | 0644 |
|
| bundle-cache.1 | File | 3.4 KB | 0644 |
|
| bundle-cache.1.ronn | File | 3.04 KB | 0644 |
|
| bundle-check.1 | File | 964 B | 0644 |
|
| bundle-check.1.ronn | File | 857 B | 0644 |
|
| bundle-clean.1 | File | 737 B | 0644 |
|
| bundle-clean.1.ronn | File | 624 B | 0644 |
|
| bundle-config.1 | File | 21.28 KB | 0644 |
|
| bundle-config.1.ronn | File | 18.84 KB | 0644 |
|
| bundle-console.1 | File | 1.64 KB | 0644 |
|
| bundle-console.1.ronn | File | 1.42 KB | 0644 |
|
| bundle-doctor.1 | File | 1.14 KB | 0644 |
|
| bundle-doctor.1.ronn | File | 975 B | 0644 |
|
| bundle-exec.1 | File | 6.61 KB | 0644 |
|
| bundle-exec.1.ronn | File | 5.88 KB | 0644 |
|
| bundle-gem.1 | File | 5.19 KB | 0644 |
|
| bundle-gem.1.ronn | File | 4.56 KB | 0644 |
|
| bundle-help.1 | File | 453 B | 0644 |
|
| bundle-help.1.ronn | File | 349 B | 0644 |
|
| bundle-info.1 | File | 479 B | 0644 |
|
| bundle-info.1.ronn | File | 402 B | 0644 |
|
| bundle-init.1 | File | 1.14 KB | 0644 |
|
| bundle-init.1.ronn | File | 1016 B | 0644 |
|
| bundle-inject.1 | File | 844 B | 0644 |
|
| bundle-inject.1.ronn | File | 693 B | 0644 |
|
| bundle-install.1 | File | 16.6 KB | 0644 |
|
| bundle-install.1.ronn | File | 15.69 KB | 0644 |
|
| bundle-list.1 | File | 963 B | 0644 |
|
| bundle-list.1.ronn | File | 788 B | 0644 |
|
| bundle-lock.1 | File | 3.11 KB | 0644 |
|
| bundle-lock.1.ronn | File | 2.97 KB | 0644 |
|
| bundle-open.1 | File | 835 B | 0644 |
|
| bundle-open.1.ronn | File | 638 B | 0644 |
|
| bundle-outdated.1 | File | 3.27 KB | 0644 |
|
| bundle-outdated.1.ronn | File | 3.06 KB | 0644 |
|
| bundle-platform.1 | File | 1.43 KB | 0644 |
|
| bundle-platform.1.ronn | File | 1.21 KB | 0644 |
|
| bundle-plugin.1 | File | 2.27 KB | 0644 |
|
| bundle-plugin.1.ronn | File | 1.86 KB | 0644 |
|
| bundle-pristine.1 | File | 1.64 KB | 0644 |
|
| bundle-pristine.1.ronn | File | 1.46 KB | 0644 |
|
| bundle-remove.1 | File | 847 B | 0644 |
|
| bundle-remove.1.ronn | File | 730 B | 0644 |
|
| bundle-show.1 | File | 688 B | 0644 |
|
| bundle-show.1.ronn | File | 596 B | 0644 |
|
| bundle-update.1 | File | 13.58 KB | 0644 |
|
| bundle-update.1.ronn | File | 12.5 KB | 0644 |
|
| bundle-version.1 | File | 640 B | 0644 |
|
| bundle-version.1.ronn | File | 473 B | 0644 |
|
| bundle-viz.1 | File | 1.22 KB | 0644 |
|
| bundle-viz.1.ronn | File | 1.06 KB | 0644 |
|
| bundle.1 | File | 3.75 KB | 0644 |
|
| bundle.1.ronn | File | 3.29 KB | 0644 |
|
| gemfile.5 | File | 22.7 KB | 0644 |
|
| gemfile.5.ronn | File | 20.7 KB | 0644 |
|