Re: [MacRuby-devel] hotcocoa not loading cocoa framework

2009-01-30 Thread Joshua Ballanco
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 wrote: Hmmm, I spoke to

Re: [MacRuby-devel] hotcocoa not loading cocoa framework

2009-01-30 Thread Robert Schaaf
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),

Re: [MacRuby-devel] hotcocoa not loading cocoa framework

2009-01-30 Thread Robert Schaaf
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 s

[MacRuby-devel] hotcocoa - can't find executable...how to find it

2009-01-30 Thread Robert Schaaf
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

Re: [MacRuby-devel] [MacRuby] #215: OpenSSL's SSLSocket appears not to be initialised correctly

2009-01-30 Thread MacRuby
#215: OpenSSL's SSLSocket appears not to be initialised correctly ---+ Reporter: cel...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major

Re: [MacRuby-devel] [MacRuby] #215: OpenSSL's SSLSocket appears not to be initialised correctly

2009-01-30 Thread MacRuby
#215: OpenSSL's SSLSocket appears not to be initialised correctly ---+ Reporter: cel...@… | Owner: lsansone...@… Type: defect | Status: new Priority: major

Re: [MacRuby-devel] hotcocoa - can't find executable...how to find it

2009-01-30 Thread Dr Nic Williams
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 + "/" >>>

[MacRuby-devel] hotcocoa - can't find executable...how to find it

2009-01-30 Thread Tim Rand
>> $:.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

Re: [MacRuby-devel] Problems compiling MacRuby

2009-01-30 Thread Dave Baldwin
On 29 Jan 2009, at 17:12, Laurent Sansonetti wrote: Dave, The problem here is that you have a custom readline library in your system. If you look at the bugs logged in the tracker you will see some tips to make it work. Deleting the extraneous readline.h fixed the problem for me. Thanks