Forum: Ruby Bus Error?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
5247e7cd27b3d17e949a4008624c1059?d=identicon&s=25 Stefan Codrescu (Guest)
on 2009-03-31 05:19
(Received via mailing list)
I tried to compile a simple TK/Ruby code using  "ruby rubyscript2exe.rb
squarecalc.rb --rubyscript2exe-tk" and:
Tracing squarecalc ...
Gathering files...
Copying files...
Copying TCL/TK...
Stripping...
Creating squarecalc_darwin ...
and when I click on the squarecalc_darwin (the file it created)I get
this:

Last login: Mon Mar 30 20:56:35 on ttyp1
/Users/stefan/Ruby/rubyscript2exe/squarecalc_darwin; exit
Welcome to Darwin!
CodrescuMac1:~ stefan$
/Users/stefan/Ruby/rubyscript2exe/squarecalc_darwin;
exit/tmp/eee.squarecalc_darwin.2/lib/tcltklib.bundle: [BUG] Bus Error
ruby 1.8.2 (2004-12-25) [powerpc-darwin8.0]

logout
[Process completed]

Any tips on how to not get this? Am I using too old of a version of
ruby?(version 1.8.2)
Or could this be a problem with my code, or the way im trying to open
the
file that rubyscript2exe created?
Or I highly doubt this but is that what this is supposed to do?
Please help, Thanks!!
This topic is locked and can not be replied to.