#406: Can't load gem grit.
---------------------------------------+------------------------------------
 Reporter:  hungerandthi...@…          |       Owner:  lsansone...@…        
     Type:  defect                     |      Status:  new                  
 Priority:  blocker                    |   Milestone:  MacRuby 0.5          
Component:  MacRuby                    |    Keywords:  rubygems, grit, gems 
---------------------------------------+------------------------------------

Comment(by kayla.rose...@…):

 Replying to [comment:2 kayla.rose...@…]:
 > Replying to [comment:1 kayla.rose...@…]:
 > > 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/>

_______________________________________________
MacRuby-devel mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to