Open a terminal, type “ruby -v” and see if your output is something like this:
$ ruby -v ruby 1.8.6 (2008-06-20 patchlevel 230)
If it is, pay attention to this post:
I was a happy programmer until I faced the first Segmentation fault of my life. Doing a simple request of my rails app’s home. Since I installed tons of plugins, Ruby, Rails and gems versions, and haven’t turned my machine off in weeks, I thought it was my machine so I rebooted it. Same problem.
After a little bit of despair, I searched on google for Segfaults on Rails 2.1 with Ruby 1.8.6 and Mongrel 1.1.5. I was lead to these pages:
http://redmine.ruby-lang.org/issues/show/211
To solve this issue:
svn co http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6
Compile and install it. Problem solved.
P.S.: I think this is serious to alarm because I upgraded my Ruby version to 1.8.6 p230 to solve the “famous” recent vulnerability found in Ruby. In fact, until the time of writting this post, p230 is the 1.8.6 version the site http://www.ruby-lang.org/ asks you to download, compile and install.

2 comments ↓
Nice post……It’ll be helpful….=D
Your first segfault? You haven’t used C enough.
Leave a Comment