Thanks Tim, this is helpful, but the problem is that once hotcocoa.rb
is found, is fails on line 1, framework 'cocoa', thus:
RuntimeError: framework at path `cocoa' cannot be loaded: Error
Domain=NSCocoaErrorDomain Code=4 UserInfo=0x136c620 "The bundle
“cocoa” could not be loaded because it
Try: $LOAD_PATH.unshift
File.join(OSX::NSBundle.mainBundle.privateFrameworksPath,
'MacRuby.framework/Versions/Current/usr/lib/ruby/1.9.0')
(from Eloy a few days ago)
On Fri, Jan 30, 2009 at 6:27 PM, Tim Rand wrote:
>>> $:.each{|path| puts path + "/" + "hotcocoa.rb" if File.exists?(path + "/"
>>>
>> $:.each{|path| puts path + "/" + "hotcocoa.rb" if File.exists?(path + "/"
+ "hotcocoa.rb")}
/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.0/hotcocoa.rb
$: is a ruby environmental variable for an array of all the paths that ruby
looks at to require a file.
Another useful on
> BTW, is there a way to change my setting from digest to individual messages?
Yes, there: http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
___
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailma
Thanks for the fast turnaround.
I'm running on 10.5.6 on 1 MacBook Pro 17", Core 2 Duo at 2.33 GHz.
As far as running the commands manually, here are the results.
Last login: Thu Jan 29 19:25:20 on ttys001
travelers-macbook-pro-17:~ traveler$ macruby -e
"NSBundle.bundleWithPath('/System/Libr
Hi Robert,
This is quite strange!
Could you give us more details regarding your environment (OS version
+ CPU architecture).
Also, does the problem also happen if you do:
$ macruby -e "NSBundle.bundleWithPath('/System/Library/Frameworks/
Cocoa.framework').load; p :ok"
Or:
$ macruby -e "
Hello everybody,
I'm new to these parts, so maybe this has already been asked and
answered.
When I first installed version 3, HotCocoa worked fine, Now, somehow,
after a couple of months of not looking at it, this happens:
travelers-macbook-pro-17:~ traveler$ macirb
>> require 'hotcocoa'