diff options
| author | Takeshi Watanabe <[email protected]> | 2018-03-22 12:42:41 +0900 |
|---|---|---|
| committer | Takeshi Watanabe <[email protected]> | 2018-03-22 12:42:41 +0900 |
| commit | 4940ddb9fcc1484730781a9a0b2e30957a8f6735 (patch) | |
| tree | 32bd9b214e7e909d560e75e4a230f0d0c17a4b80 /doc | |
| parent | 1a8483f17e61cd30651241d8616d5530d88fdf43 (diff) | |
| download | mruby-4940ddb9fcc1484730781a9a0b2e30957a8f6735.tar.gz mruby-4940ddb9fcc1484730781a9a0b2e30957a8f6735.zip | |
Add `:path` option for git repository.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guides/mrbgems.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/guides/mrbgems.md b/doc/guides/mrbgems.md index 258f405b5..8dac0dc86 100644 --- a/doc/guides/mrbgems.md +++ b/doc/guides/mrbgems.md @@ -26,6 +26,11 @@ conf.gem :github => 'masuidrive/mrbgems-example', :branch => 'master' conf.gem :bitbucket => 'mruby/mrbgems-example', :branch => 'master' ``` +You can specify the sub directory of the repository with `:path` option: +```ruby +conf.gem github: 'mruby/mruby', path: 'mrbgems/mruby-socket' +``` + To use mrbgem from [mgem-list](https://github.com/mruby/mgem-list) use `:mgem` option: ```ruby conf.gem :mgem => 'mruby-yaml' |
