2020-05-08 01:19:04 -04:00
|
|
|
BUNDLE-INJECT(1) BUNDLE-INJECT(1)
|
2018-11-02 19:07:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
NAME
|
|
|
|
bundle-inject - Add named gem(s) with version requirements to Gemfile
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
SYNOPSIS
|
|
|
|
bundle inject [GEM] [VERSION]
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
DESCRIPTION
|
2018-11-02 19:07:56 -04:00
|
|
|
Adds the named gem(s) with their version requirements to the resolved
|
2019-04-14 02:01:35 -04:00
|
|
|
[Gemfile(5)][Gemfile(5)].
|
2018-11-02 19:07:56 -04:00
|
|
|
|
2019-04-14 02:01:35 -04:00
|
|
|
This command will add the gem to both your [Gemfile(5)][Gemfile(5)] and
|
2018-11-02 19:07:56 -04:00
|
|
|
Gemfile.lock if it isn't listed yet.
|
|
|
|
|
|
|
|
Example:
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-05-08 01:19:04 -04:00
|
|
|
bundle install
|
|
|
|
bundle inject 'rack' '> 0'
|
2018-11-02 19:07:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This will inject the 'rack' gem with a version greater than 0 in your
|
2019-04-14 02:01:35 -04:00
|
|
|
[Gemfile(5)][Gemfile(5)] and Gemfile.lock
|
2018-11-02 19:07:56 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
2020-06-01 07:11:39 -04:00
|
|
|
June 2020 BUNDLE-INJECT(1)
|