Skip to content

Commit 88a8287

Browse files
committed
[GR-19691] Improve documentation for installing with ruby-build.
PullRequest: truffleruby/1157
2 parents d5e6cc9 + 67c0abf commit 88a8287

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

doc/contributor/updating-ruby-installers.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,17 @@ cc `@hsbt` in the PR description.
5252
`rbenv` users which installed `ruby-build` using Homebrew need a new release of
5353
`ruby-build` to try the new TruffleRuby release.
5454

55+
### Create a Release
56+
57+
Once pushed/merged to master, it's a good idea to create a `ruby-build` release,
58+
so `ruby-build` Homebrew users can get the new TruffleRuby release too:
59+
60+
```bash
61+
$ script/release
62+
```
63+
64+
See [this comment](https://github.com/rbenv/ruby-build/pull/1318#issuecomment-548399571) for details.
65+
5566
## RVM
5667

5768
There is a script in the repo that does everything needed:

doc/user/ruby-managers.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,14 @@ installed as a plugin for [`rbenv`](https://github.com/rbenv/rbenv).
3131
First, you need to upgrade `ruby-build` to get the latest TruffleRuby
3232
definition. See [`ruby-build`'s instructions for upgrading](https://github.com/rbenv/ruby-build#upgrading).
3333

34+
On macOS, if `ruby-build` is installed via Homebrew and you do not see the
35+
[latest TruffleRuby release](https://github.com/oracle/truffleruby/releases),
36+
you might need to install the HEAD version of `ruby-build` with:
37+
38+
```bash
39+
$ brew reinstall --HEAD ruby-build
40+
```
41+
3442
Check the latest available version of TruffleRuby with:
3543

3644
```bash

0 commit comments

Comments
 (0)