Package Details: ruby-json 2.2.0-2

Git Clone URL: https://aur.archlinux.org/ruby-json.git (read-only)
Package Base: ruby-json
Description: This is a JSON implementation as a Ruby extension in C
Upstream URL: https://rubygems.org/gems/json
Licenses: ruby
Submitter: axolotl
Maintainer: axolotl (DDoSolitary)
Last Packager: DDoSolitary
Votes: 10
Popularity: 0.052864
First Submitted: 2016-09-16 20:41
Last Updated: 2019-02-23 09:34

Latest Comments

1 2 Next › Last »

DDoSolitary commented on 2019-02-23 09:35

@02m Updated. I didn't expect that AUR helpers are caching PKGBUILDs.

02m commented on 2019-02-23 07:52

Thanks for fixing the package! I noticed that you did not bump the pkgrel from 1 to 2. That means that AUR helpers do not know that cached PKGBUILD should be updated and they keep trying to build the broken version, until the cached version is removed manually.

DDoSolitary commented on 2019-02-22 13:23

@bertptrs Fixed, thanks.

bertptrs commented on 2019-02-22 10:43

It seems that you made a copy paste error while updating the checksums. Your checksum includes the work <paste> at the end. Otherwise it is correct.

As an aside, it is recommended to use whatever upstream provides as a signature for the check, and to not make your own. Rubygems [1] offers sha256 signatures.

And lastly, it seems that the site listed as upstream is not working anymore. I found this website which still seems operational: https://flori.github.io/json/

[1] https://rubygems.org/gems/json

DDoSolitary commented on 2018-09-09 01:40

@bidulock Why does it require jruby?

bidulock commented on 2018-09-08 23:26

Package contains ELF files and must not be arch=('any')

Package has missing depends 'jruby'.

DDoSolitary commented on 2018-08-03 13:55

Hello, while rdoc is in makedepends in PKGBUILD, it is in optdepends in .SRCINFO, so it is incorrectly displayed on the AUR website. Could you please fix this?

z3ntu commented on 2018-01-30 20:25

==> Starting package()... Building native extensions. This could take a while... Successfully installed json-2.1.0 ERROR: While executing gem ... (Gem::DocumentError) RDoc is not installed: cannot load such file -- rdoc/rdoc

So as @CarstenF said

CarstenF commented on 2018-01-30 09:28

Hello there is one missing dependency to build this package. Please add: ruby-rdoc as build dependency.

Thanks

SilverRainZ commented on 2018-01-17 12:48

Hello, this package has some bugs and can not build via extra-x86_64-build:

  • the arch should be 'x86_64'
  • the command ruby -rubygems -e'puts Gem.default_dir' causes that all files to be directly installed under /. It should be ruby -e'puts Gem.default_dir'
  • please remove the source gem file from packge

There is a patch which may helpful: https://paste.gnome.org/pp1c98zjq