Commit ad4a9fef by Benoit Daloze

Support patches for TruffleRuby too

parent 50a06317
......@@ -86,8 +86,8 @@ The build process may be configured through the following environment variables:
#### Applying Patches
Both `rbenv install` and `ruby-build` support the `--patch` (`-p`) flag to apply
a patch to the Ruby (/JRuby/Rubinius) source code before building. Patches are
read from `STDIN`:
a patch to the Ruby (/JRuby/Rubinius/TruffleRuby) source code before building.
Patches are read from `STDIN`:
```sh
# applying a single patch
......
......@@ -1154,7 +1154,7 @@ isolated_gem_install() {
apply_ruby_patch() {
local patchfile
case "$1" in
ruby-* | jruby-* | rubinius-* )
ruby-* | jruby-* | rubinius-* | truffleruby-* )
patchfile="$(mktemp "${TMP}/ruby-patch.XXXXXX")"
cat "${2:--}" >"$patchfile"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment