Package Details: ruby-insist 1.0.0-3

Git Clone URL: https://aur.archlinux.org/ruby-insist.git (read-only, click to copy)
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: Felixoid
Last Packager: Felixoid
Votes: 5
Popularity: 0.85
First Submitted: 2014-03-11 23:45 (UTC)
Last Updated: 2020-02-07 14:18 (UTC)

Latest Comments

ayekat commented on 2020-02-06 15:57 (UTC) (edited on 2020-02-06 15:57 (UTC) by ayekat)

==> Starting package()...
`ubygems.rb' is deprecated, and will be removed on or after 2018-12-01. Remove `-rubygems' from your command-line, or use `-r rubygems' instead

Fixing this on line 18 in the PKGBUILD makes this warning go away.

Felixoid commented on 2019-08-27 13:57 (UTC)

Looks fine after last changes

york commented on 2019-08-11 23:50 (UTC)

Correcting the source url as pointed out by galvez_65, deleting the old file "insist-1.0.0.gem", and run "makepkg" again addressed the problem.

york commented on 2019-08-10 19:36 (UTC) (edited on 2019-08-10 19:37 (UTC) by york)

I'm having the exact same error as galvez_65. The sha256sum is also incorrect by the way. I've wasted more than one hour on this, and I'm wondering how this package has so many problems. galvez_65, have you addressed this issue?

galvez_65 commented on 2019-03-04 13:32 (UTC)

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 (UTC)

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 (UTC)

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 (UTC) (edited on 2018-01-15 15:06 (UTC) by Salamandar)

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"
}