Hello Laurent,
Here's a curious story. This afternoon I watched you and Rich Kilmer
at RubyConf (very interesting for all that you promised) and was
impressed by the macirb app. I tried to build it, but macrake
failed. Curiously, this must have given a shock to the heart of my
shell, b
Hi Robert,
Could you print all environment variables from your shell's instance?
$ env
FYI, the Ruby path ($:) has nothing to do with the Mac OS X framework
path.
Laurent
On Jan 31, 2009, at 5:20 AM, Robert Schaaf wrote:
Josh,
Disk Utility shows only "Mac OS Extended (Journaled)". I tr
Josh,
Disk Utility shows only "Mac OS Extended (Journaled)". I tried
"framework 'Cocoa'", but still no bliss.
Then I tried building the examples. Bingo! Everything worked.
This inspired me to try running macruby and macirb from my postgres
account. Once again, success.
The question n
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
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),
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