Ruby 1.9.3's infamous OS X OpenSSL segfault in http.rb:799
See above - the PG gem was the culprit. Apparently, it automatically compiles against the OS X built-in Postgres (9.0) libraries, which are of course compiled against OS X builtin OpenSSL.

Once I found this to be the reason, the fix was trivial. No need to install RVM, rbenv, Homebrew or anything else. Just recompile the PG gem ...