Skip to content

Commit 3b816bf

Browse files
committed
Fix update instructions
1 parent 7437377 commit 3b816bf

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

doc/contributor/updating-ruby.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ rm -rf ~/.rubies/ruby-$VERSION
3434
ruby-install ruby $VERSION
3535
# OR
3636
rm -rf ~/.rubies/ruby-$VERSION
37-
bin/ruby-build $VERSION ~/.rubies/ruby-$VERSION
37+
ruby-build $VERSION ~/.rubies/ruby-$VERSION
3838
ruby-install -r ~/tmp ruby $VERSION
3939
```
4040

@@ -81,8 +81,8 @@ You'll usually get some conflicts to work out.
8181
Run
8282

8383
```bash
84-
git grep -E -- "^\\s+require '-test-/"
85-
git grep -E -- '^\s+require "-test-/'
84+
git grep -E -- "^\\s*require '-test-/"
85+
git grep -E -- '^\s*require "-test-/'
8686
```
8787

8888
And comment any `require` found in files under `test/mri/tests`
@@ -173,7 +173,10 @@ In a separate commit, update all of these:
173173
* Run `jt test gems default-bundled-gems`
174174
* Grep for the old version with `git grep -F x.y.z`
175175
* If `tool/id.def` or `lib/cext/include/truffleruby/internal/id.h` has changed, `jt build core-symbols` and check for correctness.
176+
177+
For a new major version:
176178
* Update the list of `:next` specs and change the "next version" in `spec/truffleruby.mspec`.
179+
* Update the versions in the `ruby/spec on CRuby` job of `.github/workflows/ci.yml`.
177180

178181
## Last step
179182

0 commit comments

Comments
 (0)