bundle install results in "Symbol not found: _SSL_SESSION_free (LoadError)"

Hey everybody

I just installed RVM. I never had any issues with my OSX's default Ruby
1.8.7, but for a project I want to work on I need a newer version,
specifically 1.9.3-p0. So I installed it. Sadly, when doing

rails new bla

I get the following error (right after bundle install is run):

9): Symbol not found: _SSL_SESSION_free (LoadError)
  Referenced from:
  Expected in: flat namespace

By the way, I have the latest 3.2.6 XCode installed (I'm using Snow