Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 May 2025 17:03:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 286516] www/rubygem-jekyll: fails to import json
Message-ID:  <bug-286516-21402-XzPNGrJ4t8@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-286516-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-286516-21402@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286516

--- Comment #2 from Sir l33tname <sirl33tname@gmail.com> ---
I tested the same on my linux where it seems to work 

[❤ l33tname@fedora:~] gem install json
Fetching json-2.11.3.gem
Building native extensions. This could take a while...
Successfully installed json-2.11.3
Parsing documentation for json-2.11.3
Installing ri documentation for json-2.11.3
Done installing documentation for json after 0 seconds
1 gem installed

A new release of RubyGems is available: 3.5.11 → 3.6.8!
Run `gem update --system 3.6.8` to update your installation.

[❤ l33tname@fedora:~] irb 
irb(main):001> require 'json'
=> true
irb(main):002> x = JSON::Fragment.new("[1,2]")
=> #<struct JSON::Fragment json="[1,2]">
irb(main):003> 

And I updated the port locally to 2.11.3 which did not solve the issue for me

it feels like port somehow is missing support for JSON::Fragment but looking at
the rubygem-json port i don't see how that is happening

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-286516-21402-XzPNGrJ4t8>