From 8f37629519ad330032a38ac0e871b2912ed38a1b Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Sat, 1 Jun 2019 12:49:40 +0300 Subject: Merge bundler master from upstream. Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0 --- man/bundle-add.1.txt | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'man/bundle-add.1.txt') diff --git a/man/bundle-add.1.txt b/man/bundle-add.1.txt index 59c4b82c49..1a5223c41b 100644 --- a/man/bundle-add.1.txt +++ b/man/bundle-add.1.txt @@ -7,10 +7,11 @@ NAME SYNOPSIS bundle add GEM_NAME [--group=GROUP] [--version=VERSION] - [--source=SOURCE] [--skip-install] [--strict] [--optimistic] + [--source=SOURCE] [--git=GIT] [--branch=BRANCH] [--skip-install] + [--strict] [--optimistic] DESCRIPTION - Adds the named gem to the Gemfile and run bundle install. bundle + Adds the named gem to the Gemfile and run bundle install. bundle install can be avoided by using the flag --skip-install. Example: @@ -19,7 +20,7 @@ DESCRIPTION bundle add rails --version "< 3.0, > 1.1" - bundle add rails --version "~> 5.0.0" --source "https://gems.exam- + bundle add rails --version "~> 5.0.0" --source "https://gems.exam- ple.com" --group "development" bundle add rails --skip-install @@ -31,12 +32,17 @@ OPTIONS Specify version requirements(s) for the added gem. --group, -g - Specify the group(s) for the added gem. Multiple groups should + Specify the group(s) for the added gem. Multiple groups should be separated by commas. --source, , -s Specify the source for the added gem. + --git Specify the git source for the added gem. + + --branch + Specify the git branch for the added gem. + --skip-install Adds the gem to the Gemfile but does not install it. @@ -49,4 +55,4 @@ OPTIONS - March 2019 BUNDLE-ADD(1) + May 2019 BUNDLE-ADD(1) -- cgit v1.2.3