From 186ee41804bcbc12e3a74949878168b1fdf72943 Mon Sep 17 00:00:00 2001 From: "Scott J. Goldman" Date: Thu, 18 Jan 2024 12:16:26 -0800 Subject: [PATCH] fix(ruby-lang.org) (#4875) * fix(ruby-lang.org) it appears there are a few hardcoded paths from ci that made it into the packaged rbconfig.rb. this breaks installation of gems that require native compilation. so, lets patch that up * fix(ruby-lang.org): actually, don't use brewkit stubs for install & cc * fix(ruby): make this a little more explicit --- projects/ruby-lang.org/package.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/ruby-lang.org/package.yml b/projects/ruby-lang.org/package.yml index 42e90cfe..0db7d770 100644 --- a/projects/ruby-lang.org/package.yml +++ b/projects/ruby-lang.org/package.yml @@ -80,6 +80,8 @@ build: - run: sed -i.bak -e 's|$(DESTDIR){{prefix}}|$(topdir)|g' -e 's|CONFIG\["topdir"\] = .*|CONFIG\["topdir"\] = TOPDIR|g' + -e 's|CONFIG\["INSTALL"\] =.*|CONFIG\["INSTALL"\] = "/usr/bin/install"|g' + -e 's|CONFIG\["MJIT_CC"\] =.*|CONFIG\["MJIT_CC"\] = "/usr/bin/cc"|g' rbconfig.rb working-directory: ${{prefix}}/lib/ruby/{{version.marketing}}.0 env: