ext/json/ext/generator/generator.c in json-2.7.4.rc1 vs ext/json/ext/generator/generator.c in json-2.7.4.rc2
- old
+ new
@@ -1505,6 +1505,8 @@
i_encode = rb_intern("encode");
usascii_encindex = rb_usascii_encindex();
utf8_encindex = rb_utf8_encindex();
binary_encindex = rb_ascii8bit_encindex();
+
+ rb_require("json/ext/generator/state");
}