rubyosa-0.4.0 Bus Error
I was having some issues trying out the rubyosa gem, and found this useful japanese blog.
If you see an error like the following:
-
└──> rdoc-osa –name Adium
-
/Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb:530: [BUG] Bus Error
-
ruby 1.8.6 (2008-03-03) [universal-darwin9.0]
-
-
Abort trap
… when you are attempting to generate documentation, then you need to install an older version of the libxml-ruby gem, and modify rubyosa slightly.
-
$ sudo gem install libxml-ruby –version 0.3.8.4
-
$ sudo sed -i -e "s|require ‘xml/libxml’|gem ‘xml/libxml’, ‘= 0.3.8.4′|" /Library/Ruby/Gems/1.8/gems/rubyosa-0.4.0/lib/rbosa.rb
If this issue is fixed in rubyosa, a simple gem update will override the sed line you just ran, so you don’t need to worry about it again, unless you reinstall rubyosa-0.4.0.
October 7th, 2008 at 10:25 pm
Awesome, thanks! (I’m glad someone else figured this out so that I can go to bed now
October 15th, 2008 at 2:00 pm
Wow this is nice.. I too tried messing with OSA – and would tried to figure out what was the deal…
Thanks for this.
October 18th, 2008 at 6:21 pm
thx 4 that! saved me some time.
January 25th, 2009 at 6:27 pm
I’m guessing you write this blog using markdown, its interpreted the `–version` as one em-dash (—) rather than the two hyphens its supposed to be.