Package Details: ruby-open4 1.3.4-1

Git Clone URL: https://aur.archlinux.org/ruby-open4.git (read-only, click to copy)
Package Base: ruby-open4
Description: Open and manage child processes and their io handles easily.
Upstream URL: https://github.com/ahoward/open4
Licenses: ruby
Submitter: mathieu.clabaut
Maintainer: None
Last Packager: OmeGa
Votes: 27
Popularity: 0.000000
First Submitted: 2010-12-07 13:09 (UTC)
Last Updated: 2015-07-08 07:20 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

Gyroplast commented on 2022-05-26 22:34 (UTC)

When building this package, it'll install files directly into the rootfs, as the local _gemdir is incorrectly determined and subsequently left empty. There's just an 'r' missing, it seems:

diff --git a/PKGBUILD b/PKGBUILD
index 66ce28b..fd90584 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,7 +17,7 @@ sha1sums=('41a7fe9f8e3e02da5ae76c821b89c5b376a97746')

 package() {
   cd "$srcdir"
-  local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+  local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"
   gem install --no-user-install --ignore-dependencies -i \
     "$pkgdir$_gemdir" $_gemname-$pkgver.gem
 }