[MacRuby-devel] [MacRuby] #579: i386 compilation doesn't work
MacRuby
ruby-noreply at macosforge.org
Thu Jan 28 11:24:14 PST 2010
#579: i386 compilation doesn't work
--------------------------------+-------------------------------------------
Reporter: carlo@… | Owner: lsansonetti@…
Type: defect | Status: new
Priority: major | Milestone: MacRuby 0.5
Component: MacRuby | Keywords:
--------------------------------+-------------------------------------------
This bug report references MR0.5b2 as well as its standard MacRuby
application template.
Trying to build self-contained compiled i386 apps (embedded MR) works
fine, but the apps won't run. i86_64 builds are showing no problems and
work as expected, but i386 versions exit right away, logging the following
error message:
{{{
core:in `each': no such file to load -- bootstrap (LoadError)
from [project
path]/build/Release/MyApp.app/Contents/Resources/rb_main.rb:in `<main>'
}}}
"bootstrap" being whatever *.rbo file is to be loaded first. $LOAD_PATH
looks okay, i.e. it's identical when running i386 or x86_64 code. The
behaviour is the same on both single-arch builds and 32/64bit "combo"
builds.
Not compiling the the application yields an app which works a-okay on both
architectures.
Tried on a 2006 2GHz Core Duo MacBook as well as a late 2009 C2D iMac,
both running XCode 3.2.1 on 10.6.2. (Both being *my* machines makes it
possible I've somehow managed to misconfigure them in the same way, of
course.)
--
Ticket URL: <http://www.macruby.org/trac/ticket/579>
MacRuby <http://macruby.org/>
More information about the MacRuby-devel
mailing list