From: Guillaume Bloss Date: 2011-09-26T20:28:26+09:00 Subject: Re: 'compiling' ruby into an exe file- how to do it? not sure what exactly you had tried to do with your command, but Ocra not work like this. TO use ocra, refer to the ocra doc, the command you should use is something like >ocra yourapplication.rb ressources\ress1.jpg ressources\res2.bnp with all your project files you can add this line after your requires in the 1st ruby file exit if Object.const_defined?(:Ocra) to avoid ocra execute your app and I think you had to require all libs in the 1st script as ocra will only look in this file, but not sure of that. anyway, I use ocra for my applications with wxruby and it work fine. -- Posted via http://www.ruby-forum.com/.