summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 607b1bc9edc..d6783245c80 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
_gemname=insist
pkgname=ruby-$_gemname
pkgver=1.0.0
-pkgrel=2
+pkgrel=3
pkgdesc="A simple block-driven assertion library for both testing and for production code"
arch=(any)
url="https://github.com/jordansissel/ruby-insist"
@@ -15,7 +15,7 @@ sha256sums=(6f6759eee583dc4e00a6cc3f713cfa7c570572958ba1f5d65595046d795b832f)
package() {
cd "$srcdir"
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _gemdir="$(ruby -r rubygems -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
"$_gemname-$pkgver.gem"