From eb3f73ae9c777f233af950c4779a0fb553a2c565 Mon Sep 17 00:00:00 2001 From: Peter Zhu Date: Mon, 24 Mar 2025 10:55:23 -0400 Subject: [PATCH] [DOC] Use install-modular-gc in gc/README.md --- gc/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gc/README.md b/gc/README.md index 838d2958db..102b24e24e 100644 --- a/gc/README.md +++ b/gc/README.md @@ -17,7 +17,7 @@ Two GC implementations are included in Ruby: 1. Configure Ruby with the `--with-modular-gc=` option, where `dir` is the directory you want to place the built GC libraries into. 2. Build Ruby as usual. -3. Build your desired GC implementation with `make modular-gc MODULAR_GC=`. This will build the GC implementation and place the built library into the `dir` specified in step 1. `impl` can be one of: +3. Build your desired GC implementation with `make install-modular-gc MODULAR_GC=`. This will build the GC implementation and place the built library into the `dir` specified in step 1. `impl` can be one of: - `default`: The default GC that Ruby ships with. - `mmtk`: The GC that uses [MMTk](https://www.mmtk.io/) as the back-end. See Ruby-specific details in the [ruby/mmtk](https://github.com/ruby/mmtk) repository. 4. Run your desired GC implementation by setting the `RUBY_GC_LIBRARY=` environment variable, where `lib` could be `default`, `mmtk`, or your own implementation (as long as you place it in the `dir` specified in step 1).