summaryrefslogtreecommitdiff
path: root/Ports/ruby
diff options
context:
space:
mode:
authorAndrew Kaster <akaster@serenityos.org>2022-06-16 02:32:26 -0600
committerLinus Groh <mail@linusgroh.de>2022-06-30 12:29:18 +0100
commit809852aeb17fdf1c75e74d46ea5685cacf478126 (patch)
treea4d6926bcb2c31bdaf0aaa00ddea862a60193e06 /Ports/ruby
parentdcc0f299be7b62837e06be09e89ff9aade1673ae (diff)
downloadserenity-809852aeb17fdf1c75e74d46ea5685cacf478126.zip
Toolchain+Ports: Install host ruby into Local/ruby, not Local/$ARCH
Following the pattern for qemu, mold, and clang, we should install the host ruby required to build the ruby port into its own install tree rather than forcing it into the GNU compiler's bindir.
Diffstat (limited to 'Ports/ruby')
-rwxr-xr-xPorts/ruby/package.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/Ports/ruby/package.sh b/Ports/ruby/package.sh
index 33c3340154..8662622ee2 100755
--- a/Ports/ruby/package.sh
+++ b/Ports/ruby/package.sh
@@ -2,6 +2,8 @@
source version.sh
+export PATH="${SERENITY_SOURCE_DIR}/Toolchain/Local/ruby/bin:${PATH}"
+
port=ruby
version=${RUBY_VERSION}
useconfigure="true"