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):

/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb:36:in
`require':
dlopen(/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle,
9): Symbol not found: _SSL_SESSION_free (LoadError)
  Referenced from:
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle
  Expected in: flat namespace
in
/Users/josh/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin10.8.0/openssl.bundle

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