This makes the prototype compatible with the recent ruby changes.
FS #28681
Signed-off-by: Peter Lewis
---
prototypes/PKGBUILD-rubygem.proto | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/prototypes/PKGBUILD-rubygem.proto b/prototypes/PKGBUILD-rubygem.proto
index 8adfff9..84fbd70 100644
--- a/prototypes/PKGBUILD-rubygem.proto
+++ b/prototypes/PKGBUILD-rubygem.proto
@@ -27,7 +27,7 @@ package() {
# the system, makepkg will exit with an error when sourcing the PKGBUILD.
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
- gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
+ gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
"$_gemname-$pkgver.gem"
}
--
1.7.9.2