S
Stephyn Butcher
Any Mac OS X/Ruby users out there?
Okay...I like the command line but I'm itching for a GUI.
I'm using Mac OS X 10.2.6 and Ruby 1.6.8 (compiled from source). I just
compiled RubyCocoa 0.4.0 from source and even though I applied the
patch to take care of the Segmentation Fault problem, there still seems
to be a greater problem with RubyCocoa finding individual bundles. For
example, the test suite quits with:
[me@computer:~/Desktop/rubycocoa-0.4.0/tests]$DYLD_FRAMEWORK_PATH=/
Users/stephyn/Desktop/rubycocoa-0.4.0/framework/build r
uby -I../lib testall.rb
../lib/osx/cocoa.rb:12:in `require': No such file to load --
osx/objc/cocoa (LoadError)
from ../lib/osx/cocoa.rb:12
from ./tc_nsattributedstring.rb:12:in `require'
from ./tc_nsattributedstring.rb:12
from testall.rb:4:in `require'
from testall.rb:4
from testall.rb:3:in `each'
from testall.rb:3
Loaded suite testall
Started
Finished in 0.002562 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
Similarly, attempting to run any other of the sample scripts fails with
similar results. Generally, anything osx/? can't be found. For example,
[me@computer:/Developer/Examples/RubyCocoa]$ruby sndplay.rb
/usr/local/lib/ruby/site_ruby/1.6/osx/cocoa.rb:12:in `require': No such
file to load -- osx/objc/cocoa (LoadError)
from /usr/local/lib/ruby/site_ruby/1.6/osx/cocoa.rb:12
from sndplay.rb:1:in `require'
from sndplay.rb:1
This seems to be a known issue. I was curious if anyone had found a
fix. I'm also posting to rubycocoa-talk but there doesn't seem to be
much traffic on that list.
Thanks in advance.
Steve
Okay...I like the command line but I'm itching for a GUI.
I'm using Mac OS X 10.2.6 and Ruby 1.6.8 (compiled from source). I just
compiled RubyCocoa 0.4.0 from source and even though I applied the
patch to take care of the Segmentation Fault problem, there still seems
to be a greater problem with RubyCocoa finding individual bundles. For
example, the test suite quits with:
[me@computer:~/Desktop/rubycocoa-0.4.0/tests]$DYLD_FRAMEWORK_PATH=/
Users/stephyn/Desktop/rubycocoa-0.4.0/framework/build r
uby -I../lib testall.rb
../lib/osx/cocoa.rb:12:in `require': No such file to load --
osx/objc/cocoa (LoadError)
from ../lib/osx/cocoa.rb:12
from ./tc_nsattributedstring.rb:12:in `require'
from ./tc_nsattributedstring.rb:12
from testall.rb:4:in `require'
from testall.rb:4
from testall.rb:3:in `each'
from testall.rb:3
Loaded suite testall
Started
Finished in 0.002562 seconds.
0 tests, 0 assertions, 0 failures, 0 errors
Similarly, attempting to run any other of the sample scripts fails with
similar results. Generally, anything osx/? can't be found. For example,
[me@computer:/Developer/Examples/RubyCocoa]$ruby sndplay.rb
/usr/local/lib/ruby/site_ruby/1.6/osx/cocoa.rb:12:in `require': No such
file to load -- osx/objc/cocoa (LoadError)
from /usr/local/lib/ruby/site_ruby/1.6/osx/cocoa.rb:12
from sndplay.rb:1:in `require'
from sndplay.rb:1
This seems to be a known issue. I was curious if anyone had found a
fix. I'm also posting to rubycocoa-talk but there doesn't seem to be
much traffic on that list.
Thanks in advance.
Steve