Hello fine folks of ruby-talk!
I am taking some serious damage with the fresh ruby 1.8.6 after
updating from 1.8.4
All the usual rituals were executed including flushing the /usr/local/
lib.ruby hierarchy.
I rebuilt ruby a few times.
When running make-test-all I get:
/ruby-1.8.6/lib/drb/drb.rb:589: [BUG] Segmentation fault
ruby 1.8.6 (2007-03-13) [powerpc-darwin8.9.0]
/ruby-1.8.6/lib/rexml/parsers/streamparser.rb:17: [BUG] Segmentation
fault
ruby 1.8.6 (2007-03-13) [powerpc-darwin8.9.0]
and …
make: *** [test-all] Abort trap
The rest is all green - dots dots dots
Any attempt to use the freshly polished ruby raises issues. For
instance, most of rdoc runs end with:
Installing RDoc documentation for camping-1.5.180…
/usr/local/lib/ruby/1.8/rdoc/parsers/parse_rb.rb:1273: [BUG]
Segmentation fault
ruby 1.8.6 (2007-03-13) [powerpc-darwin8.9.0]
This happened to me on about 4 gems already.
When I try to do the gem install something, I get a different
segfault in a different place altogether:
digi:/ruby-1.8.6 julik$ sudo gem install rails
/usr/local/lib/ruby/site_ruby/1.8/rubygems/version.rb:136: [BUG]
Segmentation fault
ruby 1.8.6 (2007-03-13) [powerpc-darwin8.9.0]
On the second try it does give me the usual “do you want to install
activesupport” message
Even a seemingly innocent gem list fails:
digi:/ruby-1.8.6 julik$ gem list -r
*** REMOTE GEMS ***
Bulk updating Gem source index for: http://gems.rubyforge.org
/usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:322: [BUG]
Segmentation fault
ruby 1.8.6 (2007-03-13) [powerpc-darwin8.9.0]
IRB works fine, so does ruby -v and friends
Works for some gems, does not work for others. Basically I haven’t
been getting that many segfaults in a year of using ruby.
gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061), OS X
10.4.9
Could someone give me a clue what is rotten? Black magic failed, I am
surely no wizard.