2018-11-02 19:07:56 -04:00
|
|
|
BUNDLE-INJECT(1) BUNDLE-INJECT(1)
|
|
|
|
|
|
|
|
|
|
|
|
|
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:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bundle install
|
|
|
|
bundle inject 'rack' '> 0'
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
2019-09-18 02:28:08 -04:00
|
|
|
September 2019 BUNDLE-INJECT(1)
|