未验证 提交 b3d3a4ec 编写于 作者: P Pat Allan

Allow custom ruby-build versions/branches.

Users can set `ASDF_RUBY_BUILD_VERSION` to their preferred version/branch (e.g. `master` if they always want the very latest from `ruby-build`).
上级 fbf5d621
......@@ -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.
先完成此消息的编辑!
想要评论请 注册