Package Details: ruby-xdg 8.3.0-1

Git Clone URL: https://aur.archlinux.org/ruby-xdg.git (read-only, click to copy)
Package Base: ruby-xdg
Description: Provides a Ruby implementation of the XDG Base Directory Specification
Upstream URL: https://www.alchemists.io/projects/xdg
Licenses: Apache
Submitter: lucacesari
Maintainer: flipee
Last Packager: flipee
Votes: 10
Popularity: 0.000000
First Submitted: 2017-11-19 15:17 (UTC)
Last Updated: 2024-04-21 19:02 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

vith commented on 2020-11-09 06:46 (UTC)

having $GEM_HOME set causes the package to be installed in my homedir because gem env gemdir respects that

satai commented on 2018-02-12 19:52 (UTC)

ruby-rdoc missing in dependencies

apaatsio commented on 2018-02-06 15:05 (UTC)

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

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

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.