Package Details: um-git 4.2.0.r0.gb56b729-1

Git Clone URL: https://aur.archlinux.org/um-git.git (read-only, click to copy)
Package Base: um-git
Description: utility to create and maintain your own man pages so you can remember how to do stuff
Upstream URL: https://github.com/sinclairtarget/um
Keywords: man
Licenses: MIT
Conflicts: um
Submitter: hero
Maintainer: None
Last Packager: hero
Votes: 1
Popularity: 0.000000
First Submitted: 2018-09-06 22:48 (UTC)
Last Updated: 2020-01-14 20:29 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Latest Comments

hero commented on 2018-10-09 09:41 (UTC)

Mhhh, I have only little knowledge in packaging a ruby gem so I mostly oriented myself around other Ruby packages.

The Wiki page https://wiki.archlinux.org/index.php/Ruby_Gem_package_guidelines lists https://git.archlinux.org/svntogit/community.git/tree/trunk/PKGBUILD?h=packages/ruby-hpricot as one package to take as an example. The package function should be nearly identical, so I suspect that there are no errors in that function. My build function also seems quite straight forward (They do not need one, because they download a .gem file). Maybe the argument --norc makes a difference? Try removing that and please report if that helps.

Furthermore I would like to understand the differences we have, because for me it works fine. My $GEM_PATH is set to nothing, what about your full GEM_PATH? And why did you set it to the value it has now? Furthermore could you provide the output of gem env? Mine looks like this: https://ptpb.pw/qDMe

Ataraxy commented on 2018-10-08 14:51 (UTC)

Cheers for fixing upstream!

Just tried running:

% um
Traceback (most recent call last):
        2: from /usr/bin/um:23:in `<main>'
        1: from /usr/lib/ruby/2.5.0/rubygems.rb:308:in `activate_bin_path'
/usr/lib/ruby/2.5.0/rubygems.rb:289:in `find_spec_for_exe': can't find gem um (>= 0.a) with executable um (Gem::GemNotFoundException)                                                                             
%

My fix was:

GEM_PATH=/usr/lib/ruby/gems/2.5.0:$GEM_PATH

hero commented on 2018-10-08 12:21 (UTC)

Submitted a PR upstream. With that you will see the line only once.

Ataraxy commented on 2018-10-08 09:26 (UTC)

Nice one!

Any way to silence the multiple:

mkdir -p doc/man1