Package Details: ruby-insist 1.0.0-1

Git Clone URL: https://aur.archlinux.org/ruby-insist.git (read-only)
Package Base: ruby-insist
Description: A simple block-driven assertion library for both testing and for production code
Upstream URL: https://github.com/jordansissel/ruby-insist
Licenses: Apache
Submitter: obiesmans
Maintainer: obiesmans
Last Packager: obiesmans
Votes: 2
Popularity: 0.000014
First Submitted: 2014-03-11 23:45
Last Updated: 2015-07-07 18:00

Latest Comments

galvez_65 commented on 2019-03-04 13:32

the source in your pkgbuild file is incorrect, it should be https://rubygems.org/downloads/$_gemname-$pkgver.gem

galvez_65 commented on 2019-03-03 21:52

getting the following error trying to install: ERROR: While executing gem ... (ArgumentError) "e>\n <" is not an octal string

pd5rm commented on 2018-01-31 22:42

This package was a dependency used in fpm. It fails to install in correct location (installs to root). The workaround provided by @Salamandar fixed the problem.

Salamandar commented on 2018-01-15 15:05

Installation does not work :

Traceback (most recent call last):
    1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- ubygems (LoadError)

Fix: this package function works:

package() { 
  cd "$srcdir"
  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"
}