From fa90cfa31b9142839242e67060cc8533b489fba7 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Sat, 8 Oct 2022 17:57:38 +0200 Subject: community/rubygems: patching ruby in shell wrappers --- community/rubygems/PKGBUILD | 3 +++ 1 file changed, 3 insertions(+) (limited to 'community') diff --git a/community/rubygems/PKGBUILD b/community/rubygems/PKGBUILD index 8d8a8156..8bf697ea 100644 --- a/community/rubygems/PKGBUILD +++ b/community/rubygems/PKGBUILD @@ -10,6 +10,9 @@ eval "$( sed ' s|local _gemdir.*|local _gemdir="/usr/lib/ruby/gems/3.0.0"|g 3 i PATH="/opt/ruby-bootstrap-3.0.4/bin:${PATH}" + $ i sed -i "1s|.*|#\!/usr/bin/ruby|" "${pkgdir}"/usr/bin/gem + $ i sed -i "1s|.*|#\!/usr/bin/ruby|" "${pkgdir}"/usr/bin/rbs + $ i sed -i "1s|.*|#\!/usr/bin/ruby|" "${pkgdir}"/usr/bin/typeprof ' )" -- cgit v1.2.3-70-g09d2