From: hengist podd Date: 2010-04-03T18:59:11+09:00 Subject: Re: “arch -i386 ruby” not loading into 32-bit mode in 10.6.3 Richard Fairbanks wrote: >> Not clear how you ran it, but it sounds as if you're still running in >> 64-bit mode. > > I’ve been entering it manually into Terminal and also running it as an > AppleScript: > > do shell script "ruby '/Applications/ Scripting/Ruby/Tests/test.rb'" The hashbang at the top of a script only applies when you execute the script file directly. Since you're invoking the ruby interpreter yourself and passing the script path as an argument, it will be ignored. Use: do shell script "arch -i386 ruby '/Applications/ Scripting/Ruby/Tests/test.rb'" >> FWIW, I have a TODO on embedding Standard Additions terminology in the >> OSAX module (I've already done this for py-appscript) so that it will >> work on 64-bit as well. I still need to figure out Ruby 1.9's text >> encoding support before I do a new release though. > > If you would like (yet another) beta-tester, just let me know! It's in the subversion repository if you want to play with it. HTH has -- Posted via http://www.ruby-forum.com/.