I am new to Ruby and I have an application which would be well-suited to
Rails.  The difficulty is that this application will run on an embedded
ARM processor (Arcom-based armv5tel).  I have searched the archives, but
I haven't yet found a solution for cross-compiling from i386 to ARM.  I
found this:

ac_cv_func_getpgrp_void=yes \
ac_cv_func_setpgrp_void=yes \
ac_cv_sizeof_long_long=8 \
ac_cv_func_memcmp_clean=yes \
ac_cv_func_getrlimit=yes \
./configure \
--target=arm-linux \
--host=arm-linux \
--build=`sh config.guess`

but when I try to run the ruby executable on my target machine, I just
get a 'cannot execute binary file'.

I would appreciate any help anyone has to offer.

Thanks,
Shawn