aboutsummaryrefslogtreecommitdiffstats
path: root/man/bundle-add.1.txt
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-01 12:49:40 +0300
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-09 12:44:10 +0900
commit8f37629519ad330032a38ac0e871b2912ed38a1b (patch)
treebb0529b77583d47993d8b0d608d68896aa3a5298 /man/bundle-add.1.txt
parent66508992483ae5d77b56a98427c50c772341c0ac (diff)
downloadruby-8f37629519ad330032a38ac0e871b2912ed38a1b.tar.gz
Merge bundler master from upstream.
Pick from 8dd59e3ba97eb80a599f8149f31bf40773b69dc0
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)