1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/man/bundle-inject.1.txt
hsbt fc9509bdd2 Merge bundler-2.0.0.pre.2 from upstream.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-11-27 12:08:19 +00:00

32 lines
709 B
Text

BUNDLE-INJECT(1) BUNDLE-INJECT(1)
1mNAME0m
1mbundle-inject 22m- Add named gem(s) with version requirements to Gemfile
1mSYNOPSIS0m
1mbundle inject 22m[GEM] [VERSION]
1mDESCRIPTION0m
Adds the named gem(s) with their version requirements to the resolved
[1mGemfile(5)22m][Gemfile(5)].
This command will add the gem to both your [1mGemfile(5)22m][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
[1mGemfile(5)22m][Gemfile(5)] and Gemfile.lock
November 2018 BUNDLE-INJECT(1)