[MacRuby-devel] [MacRuby] #406: Can't load gem grit.
MacRuby
ruby-noreply at macosforge.org
Thu May 20 05:40:21 PDT 2010
#406: Can't load gem grit.
---------------------------------------+------------------------------------
Reporter: hungerandthirst@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: blocker | Milestone: MacRuby 0.5
Component: MacRuby | Keywords: rubygems, grit, gems
---------------------------------------+------------------------------------
Comment(by kayla.rosebud@…):
Replying to [comment:2 kayla.rosebud@…]:
> Replying to [comment:1 kayla.rosebud@…]:
> > Cc Me!
Basically the work around I found for this on MacRuby 0.6 on SL:
{{{
require "rubygems"
require "grit" rescue p "Errors occurred while trying to load Grit"
require "grit" rescue p "Errors occurred the 2nd time too!!!"
}}}
The second require shows "unknown: warning: already initialized constant
*" warnings, but the Grit gem is loaded, and should be available after the
second require statement.
--
Ticket URL: <http://www.macruby.org/trac/ticket/406#comment:3>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list