Bob,
Out of curiosity, does the machine that's giving you trouble have a
case-sensitive HFS+ filesystem? Just a shot in the dark, but I've had
case-sensitivity related issues with Ruby 'require's in the past...
- Josh
On Jan 30, 2009, at 7:36 PM, Robert Schaaf <[email protected]> wrote:
Hmmm,
I spoke too soon. I just loaded MacRuby into a clean environment on
another machine, and /System/Library/Frameworks/ is not in $: and
require 'hotcocoa' works just fine.
Back to the drawing board.
Bob Schaaf
On Jan 30, 2009, at 6:27 PM, Robert Schaaf wrote:
Hello all (again),
I may have found the root of the problem. If so, I need a fix.
Laurent's hint, 'NSBundle.bundleWithPath('/System/Library/
Frameworks/ Cocoa.framework').load' succeeds,. Tim Rand's pointing
out the $: variable was a big help, and here's the result:
>> $:.each {|sp| puts sp + "\n"}
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
gems/1.9.0/gems/rb-appscript-0.5.1/lib
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
gems/1.9.0/gems/yahoofinance-1.2.2/lib
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
site_ruby/1.9.0
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
site_ruby/1.9.0/universal-darwin9.0
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
site_ruby
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
vendor_ruby/1.9.0
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
vendor_ruby/1.9.0/universal-darwin9.0
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
vendor_ruby
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/1.9.0
/Library/Frameworks/MacRuby.framework/Versions/0.3/usr/lib/ruby/
1.9.0/universal-darwin9.0
It looks like /System/Library/Frameworks/ is not in my search
path. The questions are why not? how do I remedy this? and will
doing so make it work?
Even more thanks,
Bob Schaaf
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel