From 1cf1bf9588261263fbf5d423d4786d59bc2600f7 Mon Sep 17 00:00:00 2001 From: Benoit Daloze Date: Mon, 21 Oct 2024 21:38:12 +0200 Subject: [PATCH] [ruby/json] Add lib/json/ext/generator/state.rb to the gemspec * Otherwise the gem always uses the pure-Ruby backend as it's missing that file and rescuing the LoadError. https://github.com/ruby/json/commit/1e2809b0b0 --- ext/json/json.gemspec | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/json/json.gemspec b/ext/json/json.gemspec index c714ba86d1..39b0155d46 100644 --- a/ext/json/json.gemspec +++ b/ext/json/json.gemspec @@ -50,6 +50,7 @@ Gem::Specification.new do |s| "lib/json/add/time.rb", "lib/json/common.rb", "lib/json/ext.rb", + "lib/json/ext/generator/state.rb", "lib/json/generic_object.rb", "lib/json/pure.rb", "lib/json/pure/generator.rb",