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

talki walki lolilolicon at gmail.com
Thu Apr 21 07:57:12 EDT 2011


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" GEMNAME-$pkgver.gem
+  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:
https://wiki.archlinux.org/index.php/Ruby_Gem_Package_Guidelines#Example_PKGBUILD


More information about the pacman-dev mailing list