summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2019-08-21 07:08:08 +0900
committerGitHub <[email protected]>2019-08-21 07:08:08 +0900
commitf563cc227b43c8b52ad3341a0bb397576f84dbe5 (patch)
treec0525f9b0cbf6e2311033a980b56e5b3f19381a5
parent4c001673b6dbc321cb0988f1c3e25f0d47d4b529 (diff)
parent3256fae1473cd31d66466824dbe5656e534b61fa (diff)
downloadmruby-f563cc227b43c8b52ad3341a0bb397576f84dbe5.tar.gz
mruby-f563cc227b43c8b52ad3341a0bb397576f84dbe5.zip
Merge pull request #4647 from take-cheeze/patch-2
Add note about checksum_hash in mrbgem doc
-rw-r--r--doc/guides/mrbgems.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guides/mrbgems.md b/doc/guides/mrbgems.md
index 0fcc936ed..184f62954 100644
--- a/doc/guides/mrbgems.md
+++ b/doc/guides/mrbgems.md
@@ -37,6 +37,11 @@ conf.gem :mgem => 'mruby-yaml'
conf.gem :mgem => 'yaml' # 'mruby-' prefix could be omitted
```
+For specifying commit hash to checkout use `:checksum_hash` option:
+```ruby
+conf.gem mgem: 'mruby-redis', checksum_hash: '3446d19fc4a3f9697b5ddbf2a904f301c42f2f4e'
+```
+
If there is missing dependencies, mrbgem dependencies solver will reference
mrbgem from core or mgem-list.