I have a RoR application which I used to deploy to Bluemix using cloud foundry. Up to now this worked fine, however, for a few days I get the following error during the deployment of my app:
ruby: symbol lookup error: /tmp/staged/app/vendor/bundle/ruby/2.2.0/extensions/x86_64-linux/2.2.0-static/pg-0.18.4/pg_ext.so: undefined symbol: rb_thread_select
I have no idea why this suddenly happens and why the pg gem is using rb_thread_select in version 0.18.4 as I read that this has not been part of the gem since pg 0.15+.
Try upgrading to Ruby 2.3.1 This worked for me while deploying to CloudFoundry using the CloudFoundry Ruby Buildpack.