Arf,
OK, thanks. My mistake then. My reduction was incorrect. Indeed when I require
'ruby gems' first in macirb, there is no issue.
But the issue remains in my MacRuby app.
I get the following error when the app launches:
/path/to/rb_main.rb:14: in `<main>': no such file to load -- sequel
(LoadError)
rb_main.rb read:
framework 'Cocoa'
require 'ruby gems'
require 'sequel' # line 14
Of course I have installed the sequel gem with macgem, and I checked that I can
require it in macirb (after rubygems).
I suspect this is related to my install issue I described earlier. copying the
MacRuby.framework from /Library/Frameworks to within Xcode wasn't good enough
after all.
(and again, this is all under Lion 10.7.4)
So I am back to square one. Any suggestion for installing MacRuby 0.12?
Regards,
Jean-Denis
On 12 juin 2012, at 15:55,
<[email protected]<mailto:[email protected]>>
Watson <[email protected]<mailto:[email protected]>> wrote:
Message: 6
Date: Tue, 12 Jun 2012 22:52:36 +0900
From: Watson <[email protected]<mailto:[email protected]>>
To: "MacRuby development discussions."
<[email protected]<mailto:[email protected]>>
Subject: Re: [MacRuby-devel] problem using gems with MacRuby 0.12
Message-ID:
<CAL5q=w7wulyjnvmcxrhkyncqndvrbaffyzukpiwj0iaapme...@mail.gmail.com<mailto:CAL5q=w7wulyjnvmcxrhkyncqndvrbaffyzukpiwj0iaapme...@mail.gmail.com>>
Content-Type: text/plain; charset=windows-1252
Hi,
MacRuby does not load `rubygems' automatically.
So, you need 'require "rubygems"' before loading gem which you want.
Please refer to http://macruby.macosforge.org/trac/ticket/855
Thanks
_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel