summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-07-26 11:39:41 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-08-03 09:30:00 +0900
commit56229c4e5d9856abdd39a51a5875a7d4d0076ce0 (patch)
tree93bb4af20d1de3d67dc26ea4a9e55886129a9de8 /man
parent6015bbeeaf897c75065d0b18e119e2614e1d1f44 (diff)
[bundler/bundler] Fix `git` options examples
https://github.com/bundler/bundler/commit/bda0fa02c4
Diffstat (limited to 'man')
-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)