[arch-projects] Fwd: [pacman-dev] [ABS] Add --verbose flag to gem in PKGBUILD-rubygem.proto

Allan McRae allan at archlinux.org
Sun Apr 24 07:44:10 EDT 2011

Forwarding.  The arch-projects list is probably a better place for this 
these days.


-------- Original Message --------
Subject: [pacman-dev] [ABS] Add --verbose flag to gem in 
Date: Thu, 21 Apr 2011 19:57:12 +0800
From: talki walki <lolilolicon at gmail.com>
Reply-To: Discussion list for pacman development <pacman-dev at archlinux.org>
To: pacman-dev at archlinux.org

Without --verbose the `gem install` outputs way too little information
about what is being done.
I suggest this patch:

--- PKGBUILD-rubygem.proto	2011-04-21 11:47:48.254153621 +0000
+++ PKGBUILD-rubygem.proto	2011-04-21 11:48:17.673994240 +0000
@@ -26,7 +26,7 @@
    # 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" 
+  gem install --ignore-dependencies --verbose -i "$pkgdir$_gemdir" -n
"$pkgdir"/usr/bin GEMNAME-$pkgver.gem

  # vim:set ts=2 sw=2 et:

I've already updated the wiki:

More information about the arch-projects mailing list