Package Details: ruby-xdg 2.2.3-3

Git Clone URL: https://aur.archlinux.org/ruby-xdg.git (read-only)
Package Base: ruby-xdg
Description: XDG provides a module for supporting the XDG Base Directory Standard
Upstream URL: https://github.com/rubyworks/xdg
Licenses: BSD
Submitter: lucacesari
Maintainer: lucacesari
Last Packager: lucacesari
Votes: 7
Popularity: 0.117857
First Submitted: 2017-11-19 15:17
Last Updated: 2018-04-21 14:29

Latest Comments

satai commented on 2018-02-12 19:52

ruby-rdoc missing in dependencies

apaatsio commented on 2018-02-06 15:05

I'm trying to update this on Manjaro and getting the followin error:

==> Validating source files with md5sums...
    xdg-2.2.3.gem ... Passed
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
Successfully installed xdg-2.2.3
ERROR:  While executing gem ... (Gem::DocumentError)
    RDoc is not installed: cannot load such file -- rdoc/rdoc
==> ERROR: A failure occurred in package().
        Aborting...
==> ERROR: Makepkg was unable to build ruby-xdg.
==> Restart building ruby-xdg ? [y/N]

SpicyCat commented on 2018-02-04 08:35

@lucacesari Could you update PKGBUILD according to @choutone comment?

local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" => local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"

choutone commented on 2018-01-08 15:17

I upgraded this package and ran across an error, someone on #ruby pointed out that there's a typo here. Instead of: local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" it should be: local _gemdir="$(ruby -rrubygems -e'puts Gem.default_dir')"

Otherwise it tries looking for a file called ubygems instead of rubygems.