summaryrefslogtreecommitdiffhomepage
path: root/doc
diff options
context:
space:
mode:
authorTakeshi Watanabe <[email protected]>2019-08-20 23:50:16 +0900
committerGitHub <[email protected]>2019-08-20 23:50:16 +0900
commit3256fae1473cd31d66466824dbe5656e534b61fa (patch)
treec0525f9b0cbf6e2311033a980b56e5b3f19381a5 /doc
parent4c001673b6dbc321cb0988f1c3e25f0d47d4b529 (diff)
downloadmruby-3256fae1473cd31d66466824dbe5656e534b61fa.tar.gz
mruby-3256fae1473cd31d66466824dbe5656e534b61fa.zip
Add note about checksum_hash in mrbgem doc
Diffstat (limited to '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.