[MacRuby-devel] MacRuby-devel Digest, Vol 52, Issue 7

Jean-Denis MUYS jdmuys at kleegroup.com
Tue Jun 12 07:13:10 PDT 2012


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, <macruby-devel-request at lists.macosforge.org<mailto:macruby-devel-request at lists.macosforge.org>>
Watson <watson1978 at gmail.com<mailto:watson1978 at gmail.com>> wrote:

Message: 6
Date: Tue, 12 Jun 2012 22:52:36 +0900
From: Watson <watson1978 at gmail.com<mailto:watson1978 at gmail.com>>
To: "MacRuby development discussions."
<macruby-devel at lists.macosforge.org<mailto:macruby-devel at lists.macosforge.org>>
Subject: Re: [MacRuby-devel] problem using gems with MacRuby 0.12
Message-ID:
<CAL5q=W7WuLYJNVmcXrHKyNCQnDvrBAFFYzukpiwj0iAaPME6AA at mail.gmail.com<mailto:CAL5q=W7WuLYJNVmcXrHKyNCQnDvrBAFFYzukpiwj0iAaPME6AA at 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20120612/2795e3f7/attachment-0001.html>


More information about the MacRuby-devel mailing list