summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-26 11:39:41 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-26 11:39:56 +0200
commitbda0fa02c451584681d21ab35fd700db21e66f03 (patch)
tree9d1f2e9899b78e9cb0428e7f04113746fd82b5f2
parent428f53bef02ba6d3855d3d55d9133b349f5e3978 (diff)
downloadbundler-fix_gemfile_manpage.tar.gz
Fix `git` options examplesfix_gemfile_manpage
-rw-r--r--man/gemfile.5.ronn6
1 files changed, 3 insertions, 3 deletions
diff --git a/man/gemfile.5.ronn b/man/gemfile.5.ronn
index 41f1062fe1..4bb7c2df0d 100644
--- a/man/gemfile.5.ronn
+++ b/man/gemfile.5.ronn
@@ -312,11 +312,11 @@ Git repositories support a number of additional options.
You `MUST` only specify at most one of these options. The default
is `:branch => "master"`. For example:
- git "https://github.com/rails/rails.git", :branch => "5-0-stable" do
+ gem "rails", :git => "https://github.com/rails/rails.git", :branch => "5-0-stable"
- git "https://github.com/rails/rails.git", :tag => "v5.0.0" do
+ gem "rails", :git => "https://github.com/rails/rails.git", :tag => "v5.0.0"
- git "https://github.com/rails/rails.git", :ref => "4aded" do
+ gem "rails", :git => "https://github.com/rails/rails.git", :ref => "4aded"
* `submodules`:
For reference, a [git submodule](https://git-scm.com/book/en/v2/Git-Tools-Submodules)