From: Christian Fazzini Date: 2011-02-11T21:10:46+09:00 Subject: [ruby-core:35199] [Ruby 1.9-Bug#4373] http.rb:677: [BUG] Segmentation fault Issue #4373 has been updated by Christian Fazzini. I don't think you understand the issue. Christian-Fazzinis-MacBook-Pro:~ Chris$ rvm install 1.9.2 --with-openssl-dir=/usr/local /Users/Chris/.rvm/rubies/ruby-1.9.2-p136, this may take a while depending on your cpu(s)... ruby-1.9.2-p136 - #fetching ruby-1.9.2-p136 - #extracted to /Users/Chris/.rvm/src/ruby-1.9.2-p136 (already extracted) ruby-1.9.2-p136 - #configuring ruby-1.9.2-p136 - #compiling ruby-1.9.2-p136 - #installing ruby-1.9.2-p136 - Updating #rubygems to the latest. Removing old Rubygems files... Installing rubygems dedicated to ruby-1.9.2-p136... Installing rubygems for /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby Installation of rubygems completed successfully. ruby-1.9.2-p136 - Updating #rubygems to the latest. Removing old Rubygems files... Installing rubygems dedicated to ruby-1.9.2-p136... Installing rubygems for /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/bin/ruby Installation of rubygems completed successfully. ruby-1.9.2-p136 - adjusting #shebangs for (gem). ruby-1.9.2-p136 - #importing default gemsets (/Users/Chris/.rvm/gemsets/) Install of ruby-1.9.2-p136 - #complete Christian-Fazzinis-MacBook-Pro:~ Chris$ ruby -v ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] Christian-Fazzinis-MacBook-Pro:~ Chris$ rvm use 1.9.2 Using /Users/Chris/.rvm/gems/ruby-1.9.2-p136 Christian-Fazzinis-MacBook-Pro:~ Chris$ ruby -r twitter -e 'puts Twitter.user("sferik").location' San Francisco As you can see above. Rvm is also fine with openssl. However, if I try to access rails console: Christian-Fazzinis-MacBook-Pro:~ Chris$ cd Sites/site_name/ Loading development environment (Rails 3.0.3) ruby-1.9.2-p136 :001 > Twitter.user("sferik").location I get the same error as above: /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677: [BUG] Segmentation fault ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0] -- control frame ---------- c:0044 p:---- s:0194 b:0194 l:000193 d:000193 CFUNC :connect c:0043 p:0440 s:0191 b:0191 l:001128 d:001128 METHOD /Users/Chris/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/1.9.1/net/http.rb:677 ...... So the issue is not OpenSSL or RVM. Its lib/ruby/1.9.1/net/http.rb:677 ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4373 ---------------------------------------- http://redmine.ruby-lang.org