require failing to find installed gem - from Cocoa app
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.
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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
Laurent; I followed the embed tutorial and I'm still getting the same error. Any other suggestions? -----Original Message----- From: macruby-devel-bounces@lists.macosforge.org on behalf of Laurent Sansonetti Sent: Wed 9/23/2009 6:01 PM To: MacRuby development discussions. Subject: Re: [MacRuby-devel] require failing to find installed gem - fromCocoa app 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@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
_______________________________________________ MacRuby-devel mailing list MacRuby-devel@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
participants (3)
-
Laurent Sansonetti
-
Stevenson, Bob
-
Stevenson, Bob