diff options
author | Vyacheslav Alexeev <alexeev.corp@gmail.com> | 2021-12-10 15:40:58 +0800 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-12-11 00:13:25 +0900 |
commit | 1a62a50c4f9c835dee5d6bc17ca45914daea1bbd (patch) | |
tree | dd5628eaa2030aa2783c50e00a75093f1e2594a2 /lib/bundler/man | |
parent | 5f1975a454dd9a6743bfa196111a4fde62366798 (diff) |
[rubygems/rubygems] Add `github` and `ref` options to `bundle add`
https://github.com/rubygems/rubygems/commit/c3e54acab0
Diffstat (limited to 'lib/bundler/man')
-rw-r--r-- | lib/bundler/man/bundle-add.1 | 10 | ||||
-rw-r--r-- | lib/bundler/man/bundle-add.1.ronn | 8 |
2 files changed, 16 insertions, 2 deletions
diff --git a/lib/bundler/man/bundle-add.1 b/lib/bundler/man/bundle-add.1 index a94467e25f..6c462ba839 100644 --- a/lib/bundler/man/bundle-add.1 +++ b/lib/bundler/man/bundle-add.1 @@ -7,7 +7,7 @@ \fBbundle\-add\fR \- Add gem to the Gemfile and run bundle install . .SH "SYNOPSIS" -\fBbundle add\fR \fIGEM_NAME\fR [\-\-group=GROUP] [\-\-version=VERSION] [\-\-source=SOURCE] [\-\-git=GIT] [\-\-branch=BRANCH] [\-\-skip\-install] [\-\-strict] [\-\-optimistic] +\fBbundle add\fR \fIGEM_NAME\fR [\-\-group=GROUP] [\-\-version=VERSION] [\-\-source=SOURCE] [\-\-git=GIT] [\-\-github=GITHUB] [\-\-branch=BRANCH] [\-\-ref=REF] [\-\-skip\-install] [\-\-strict] [\-\-optimistic] . .SH "DESCRIPTION" Adds the named gem to the Gemfile and run \fBbundle install\fR\. \fBbundle install\fR can be avoided by using the flag \fB\-\-skip\-install\fR\. @@ -49,10 +49,18 @@ Specify the source for the added gem\. Specify the git source for the added gem\. . .TP +\fB\-\-github\fR +Specify the github source for the added gem\. +. +.TP \fB\-\-branch\fR Specify the git branch for the added gem\. . .TP +\fB\-\-ref\fR +Specify the git ref for the added gem\. +. +.TP \fB\-\-skip\-install\fR Adds the gem to the Gemfile but does not install it\. . diff --git a/lib/bundler/man/bundle-add.1.ronn b/lib/bundler/man/bundle-add.1.ronn index 26cbe55647..6547297c86 100644 --- a/lib/bundler/man/bundle-add.1.ronn +++ b/lib/bundler/man/bundle-add.1.ronn @@ -3,7 +3,7 @@ bundle-add(1) -- Add gem to the Gemfile and run bundle install ## SYNOPSIS -`bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--git=GIT] [--branch=BRANCH] [--skip-install] [--strict] [--optimistic] +`bundle add` <GEM_NAME> [--group=GROUP] [--version=VERSION] [--source=SOURCE] [--git=GIT] [--github=GITHUB] [--branch=BRANCH] [--ref=REF] [--skip-install] [--strict] [--optimistic] ## DESCRIPTION Adds the named gem to the Gemfile and run `bundle install`. `bundle install` can be avoided by using the flag `--skip-install`. @@ -33,9 +33,15 @@ bundle add rails --group "development, test" * `--git`: Specify the git source for the added gem. +* `--github`: + Specify the github source for the added gem. + * `--branch`: Specify the git branch for the added gem. +* `--ref`: + Specify the git ref for the added gem. + * `--skip-install`: Adds the gem to the Gemfile but does not install it. |