J
jm
$ ruby -v
ruby 1.8.1 (2003-12-25) [powerpc-darwin]
Installed rubycocoa-0.4.1-panther.tgz with the following
$ ruby ./install config
$ ruby ./install setup
$ ruby ./install install
tried and ran into problems with
$ ruby sample/HelloWorld.rb
/Users/gg/ulocal//lib/ruby/site_ruby/1.8/osx/cocoa.rb:12:in `require':
No such file to load -- osx/objc/cocoa (LoadError)
from /Users/gg/ulocal//lib/ruby/site_ruby/1.8/osx/cocoa.rb:12
from sample/HelloWorld.rb:14:in `require'
from sample/HelloWorld.rb:14
I found this in
/Library//Frameworks/RubyCocoa.framework/Versions/Current/Resources/
ruby/osx/objc/ and tried putting in a symbolic only to be rewarded with
"undefined superclass `ObjcID' (TypeError)"
Perhaps, surprisingly "open Simple.app" worked from the beginning.
So has anybody got this working? If so, how?
Alternative ideas on working with ruby on cocoa also welcome.
J.
ruby 1.8.1 (2003-12-25) [powerpc-darwin]
Installed rubycocoa-0.4.1-panther.tgz with the following
$ ruby ./install config
$ ruby ./install setup
$ ruby ./install install
tried and ran into problems with
$ ruby sample/HelloWorld.rb
/Users/gg/ulocal//lib/ruby/site_ruby/1.8/osx/cocoa.rb:12:in `require':
No such file to load -- osx/objc/cocoa (LoadError)
from /Users/gg/ulocal//lib/ruby/site_ruby/1.8/osx/cocoa.rb:12
from sample/HelloWorld.rb:14:in `require'
from sample/HelloWorld.rb:14
I found this in
/Library//Frameworks/RubyCocoa.framework/Versions/Current/Resources/
ruby/osx/objc/ and tried putting in a symbolic only to be rewarded with
"undefined superclass `ObjcID' (TypeError)"
Perhaps, surprisingly "open Simple.app" worked from the beginning.
So has anybody got this working? If so, how?
Alternative ideas on working with ruby on cocoa also welcome.
J.