[arch-commits] Commit in ruby-augeas/trunk (PKGBUILD)
Evangelos Foutras
foutrelis at archlinux.org
Wed Jan 3 07:33:56 UTC 2018
Date: Wednesday, January 3, 2018 @ 07:33:54
Author: foutrelis
Revision: 277931
Remove unneeded (and now invalid) -rubygems switch
Modified:
ruby-augeas/trunk/PKGBUILD
----------+
PKGBUILD | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-03 07:31:45 UTC (rev 277930)
+++ PKGBUILD 2018-01-03 07:33:54 UTC (rev 277931)
@@ -19,7 +19,7 @@
cd "$srcdir"
# _gemdir is defined inside package() because if ruby[gems] is not installed on
# the system, makepkg will exit with an error when sourcing the PKGBUILD.
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "${pkgdir}${_gemdir}" \
-n "${pkgdir}/usr/bin" "${_gemname}-${pkgver//_/-}.gem"
@@ -30,7 +30,7 @@
cd "$srcdir"
# _gemdir is defined inside package() because if ruby[gems] is not installed on
# the system, makepkg will exit with an error when sourcing the PKGBUILD.
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \
-n "$pkgdir/usr/bin" "$_gemname-$pkgver.gem"
More information about the arch-commits
mailing list