Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/community/rubygems
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-10-08 17:57:38 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2022-10-08 17:57:38 +0200
commitfa90cfa31b9142839242e67060cc8533b489fba7 (patch)
tree6e8ecec79d191c515904227792d71473d1fdfa62 /community/rubygems
parent79f5c7521e3ce6ef2327703650bf359e706797e5 (diff)
community/rubygems: patching ruby in shell wrappers
Diffstat (limited to 'community/rubygems')
-rw-r--r--community/rubygems/PKGBUILD3
1 files changed, 3 insertions, 0 deletions
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
'
)"