[arch-projects] [PATCH] Add --no-user-install to PKGBUILD-rubygem.proto
Peter Lewis
plewis at aur.archlinux.org
Mon Feb 27 10:15:24 EST 2012
This makes the prototype compatible with the recent ruby changes.
FS #28681
Signed-off-by: Peter Lewis <plewis at aur.archlinux.org>
---
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
More information about the arch-projects
mailing list