[MacRuby-devel] Cannot get standalone distribution to work with 0.5 or Apr 29 nightly
Brian Marick
marick at exampler.com
Sun May 2 11:32:33 PDT 2010
Xcode.
On May 2, 2010, at 1:16 PM, Matt Aimonetti wrote:
> Are you trying to compile an Xcode or hotcocoa project?
>
> - Matt
>
> On Sun, May 2, 2010 at 11:10 AM, Brian Marick <marick at exampler.com> wrote:
> I'm trying to get a standalone distribution working (one with the MacRuby framework embedded in the app). I've followed the instructions in the tutorial
> http://www.macruby.com/documentation/tutorial.html
> and also looked at the discussion in ticket 281, macruby-devel at http://bit.ly/dkKyXT, and carlo.log http://bit.ly/5SdxCq
>
> At this point, the app does nothing but pop up "hello world" (using Cocoa directly rather than via hotcocoa). It fails with this message in the console:
>
> no such file to load -- ubygems (LoadError)
>
> ubygems.rb *is* present in the path that rb_main.rb sets, but the error happens before rb_main.rb is entered.
>
> I've tried using install_name_tool in various ways, but it never changes anything.
>
> Questions:
>
> 1. Is the LoadError caused by something else entirely?
> 2. Should I need to use install_name_tool with recent nightlies or is macruby_deploy all I should need?
> 3. Any ideas about how to make it work?
>
> -----
> Brian Marick, independent consultant
> Mostly on agile methods with a testing slant
> Author of /Programming Cocoa with Ruby/
> www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
Author of /Programming Cocoa with Ruby/
www.exampler.com, www.exampler.com/blog, www.twitter.com/marick
More information about the MacRuby-devel
mailing list