summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMikhail f. Shiryaev2020-02-07 15:18:31 +0100
committerMikhail f. Shiryaev2020-02-07 15:18:31 +0100
commit4d99027d3f1a5dd3889a4352baa1bc3bbaaa4b31 (patch)
tree8f7dfc2ed34258d4820462f3ecc947272d30e983 /PKGBUILD
parent7f3ca896cb5ab10e6ab5f8814c62455283c203dc (diff)
downloadaur-ruby-insist.tar.gz
Fix _gemdir deprecation warning
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"