[MacRuby-devel] require failing to find installed gem - from Cocoa app

Laurent Sansonetti lsansonetti at apple.com
Wed Sep 23 16:01:49 PDT 2009


Hi Bob,

Did you embed MacRuby within your app? This could potentially explain  
why it cannot find the gem.

Laurent

On Sep 23, 2009, at 12:05 PM, Stevenson, Bob wrote:

> I've installed a gem that I'm trying to use from the latest nightly;  
> but the embedded macruby runtime; does not find the gem.
> Controller.rb:14:in `<main>': no such file to load -- xml-object  
> (LoadError)
>
> What do I need to do so that the embedded macruby can find my  
> installed gem?
> I can perform the require successfully from macirb.  Then gem is  
> installed off my home directory at: ~/.gem
>
> Thanks in advance.
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel



More information about the MacRuby-devel mailing list