table of contents
other versions
- buster 1.17.3-3+deb10u1
- buster-backports 2.1.4-2~bpo10+1
- testing 2.2.4-1
- unstable 2.2.5-1
BUNDLE-INJECT(1) | BUNDLE-INJECT(1) |
NAME¶
bundle-inject - Add named gem(s) with version requirements to GemfileSYNOPSIS¶
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
January 2020 |