Package Details: ruby-xdg 5.1.1-1

Git Clone URL: (read-only, click to copy)
Package Base: ruby-xdg
Description: Provides a Ruby implementation of the XDG Base Directory Specification
Upstream URL:
Licenses: Apache
Submitter: lucacesari
Maintainer: flipee
Last Packager: flipee
Votes: 11
Popularity: 0.46
First Submitted: 2017-11-19 15:17
Last Updated: 2021-04-20 02:46

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

flipee commented on 2021-04-14 22:25

I was waiting for ruby-3.0 to reach the official repos since this version is now required.

Ghosthree3 commented on 2021-04-14 21:18

The package just needs to be updated. Until the maintainer can get around to doing so, just edit the PKGBUILD to use 5.1.0 instead of 4.5.0 (and the associated sha256sum). Hopefully no other changes are required with the version bump but it seems to be working for me.

bobfin21 commented on 2021-04-14 17:59

I'm getting the following error when trying to install tmuxinator.

==> Starting package()...
ERROR:  Error installing xdg-4.5.0.gem:
        xdg-4.5.0 requires Ruby version ~> 2.7. The current ruby version is
==> ERROR: A failure occurred in package().

flipee commented on 2020-11-09 14:49

@vith Clean chroot mistake =P. This should be fixed now. Thanks for reporting!

vith commented on 2020-11-09 06:46

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

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().
==> 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.