Commit c02afb36 authored by matt mooney's avatar matt mooney Committed by Allan McRae
Browse files

PKGBUILD-rubygem: set binary directory

Add option to set the directory for gem binaries to /usr/bin.

Suggested-by: default avatartalki walki <>
Signed-off-by: default avatarmatt mooney <>
parent bd5be0e6
......@@ -26,7 +26,8 @@ package() {
# 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 -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
# vim:set ts=2 sw=2 et:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment