aboutsummaryrefslogtreecommitdiffstats
path: root/man/bundle-add.1.txt
diff options
context:
space:
mode:
Diffstat (limited to 'man/bundle-add.1.txt')
-rw-r--r--man/bundle-add.1.txt16
1 files changed, 11 insertions, 5 deletions
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)