Ticket #579 (closed defect: fixed)
i386 compilation doesn't work
| Reported by: | carlo@… | Owned by: | martinlagardette@… |
|---|---|---|---|
| Priority: | major | Milestone: | MacRuby 0.6 |
| Component: | MacRuby | Keywords: | |
| Cc: | darrin@… |
Description
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.)

