Character search error since upgrading to Ruby 2.2.0

I received this error, starting with the upgrade to 2.2.0, only when the HTTP request was sent to puma:

puma 2.10.2 (tcp://0.0.0.0:22555): symbol lookup error: 
  /usr/lib/ruby/gems/2.2.0/extensions/x86_64-linux/2.2.0/do_postgres-0.10.14/do_postgres/do_postgres.so: 
  undefined symbol: rb_thread_select

What is the reason and how to fix it?

The transition to version 2.1.5 still fixes this problem.

+4
source share
1 answer

Jewel pgprior to version 0.14.1 uses the method rb_thread_select. This method has been removed in Ruby 2.2. According to its history file , version 0.15.0, released in March 2013, no longer uses it:

== v0.15.0 [2013-03-03] Michael Granger <ged@FaerieMUD.org>

[...]

Enhancements:

- Make use of rb_thread_fd_select() on Ruby 1.9 and avoid deprecated
  rb_thread_select().

[...]

, pg. , , 0,15.0 .

+5

All Articles