Closed brauliobo closed 2 months ago
1.1.4 is too old, see https://github.com/ged/ruby-pg/tags.
rb_tainted_str_new
was removed in CRuby 3.2 and so is also removed in TruffleRuby, you should get the same error on CRuby 3.2.
I tried on CRuby 3.2 and it also hits this but it's a warning instead of error:
$ gem i -V pg:1.1.4
...
pg.h:309:25: warning: implicit declaration of function ‘rb_tainted_str_new’; did you mean ‘rb_enc_str_new’? [-Wimplicit-function-declaration]
Please see the log below: