Closed bleything closed 14 years ago
Hrmm, it seems as if your system RubyCocoa is a bit messed up… Could you see if Ruby is able to load it at all like so?
$ /usr/bin/ruby -r osx/cocoa -e "p OSX::RUBYCOCOA_VERSION"
"0.13.2"
Nope :(
[06:36:36] ben@folio (master)
~/projects/teaching/permanent_record $ /usr/bin/ruby -r osx/cocoa -e "p OSX::RUBYCOCOA_VERSION"
/Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle: dlopen(/Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle, 9): no suitable image found. Did find: (LoadError)
/Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle: no matching architecture in universal wrapper - /Library/Ruby/Site/1.8/universal-darwin10.0/rubycocoa.bundle
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/osx/foundation.rb:8
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/osx/cocoa.rb:8:in `require'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/osx/cocoa.rb:8
I'm at a loss for how this could have happened. Should I just reinstall RubyCocoa and see what happens?
I think you still have an installed RubyCocoa which remains after an upgrade :-/
Can you remove:
This should make it pick up the system one again. I hope ;-)
that's the confusing part... I didn't do an upgrade. I did a fresh install then manually migrated my homedir.
At any rate, your suggestion did the trick. Deleted those files, and all is well. Thanks :)
Oh my, that is interesting indeed. But I have no other explanations up my sleeve :)
Glad to hear it works now though!
I can't seem to add an application in the version 1.3 prefpane. When I try, and click Apply, the following messages appear in Console.app:
This is with completely stock built-in Ruby and whatnot. Let me know if there's any other information I can provide.