When creating a new rails app, I get the following error:
/usr/local/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/net/http.rb:799: [BUG] Segmentation fault
ruby
I googled around for this problem and found the following magic incantations:
rvm pkg install openssl
rvm reinstall 1.9.3 --with-openssl-dir=$rvm_path/usr
Sorry to not link back to a source but I can't remember which website had the winning formula. The gist of it is that ruby links against a bad version of openssl so doing it this way makes rvm install its own version of openssl and link ruby against that.