未验证 提交 c17d4d19 编写于 作者: T Trevor Brown 提交者: GitHub

Merge pull request #132 from pat/patch-1

Allow custom ruby-build versions/branches.
......@@ -27,6 +27,12 @@ RUBY_APPLY_PATCHES=$'dir/1.patch\n2.patch\nhttp://example.com/3.patch' asdf inst
RUBY_APPLY_PATCHES=$(curl -s https://raw.githubusercontent.com/rvm/rvm/master/patchsets/ruby/2.1.1/railsexpress) asdf install ruby 2.1.1
```
By default asdf-ruby uses the latest release of ruby-build, but you can choose your own branch/tag through the `ASDF_RUBY_BUILD_VERSION` variable:
```
ASDF_RUBY_BUILD_VERSION=master asdf install ruby 2.6.4
```
## Default gems
asdf-ruby can automatically install a set of default gems right after
......
RUBY_BUILD_VERSION="v20190828"
RUBY_BUILD_VERSION="${ASDF_RUBY_BUILD_VERSION:-v20190828}"
RUBY_BUILD_TAG="$RUBY_BUILD_VERSION"
echoerr() {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册