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