If you're getting a segfault attempting an ssl connection in Rails on OSX Lion such as:
../ruby-1.9.2-head/gems/mail-2.2.19/lib/mail/core_extensions/smtp.rb:14: [BUG] Segmentation fault
add the following to your .bashrc or .zshrc configuration:
export RUBYOPT="-ropenssl"
Really wonky -- especially since ActionMailer depends on Mail thru which I could send emails with ease...