From: Max Williams Date: 2010-02-04T21:30:58+09:00 Subject: Re: win32API problem running ocra in linux Lars Christensen wrote: > On Thu, Feb 4, 2010 at 12:26 PM, Max Williams > wrote: >> I'm in linux and need to make an executable version of a script for one >> of my windows-using colleagues to run. �I tried with rubyscript2exe >> originally and gave up after various problems and reading about >> workarounds which looked like a nightmare. >> >> So, i'm giving ocra a go. �But, it's failing with the following error: >> >>>/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- Win32API (MissingSourceFile) >>> �from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require' > > You can't build Ocra executables on Linux, because it requires a > Windows version of the Ruby interpreter to include. RubyInstaller with > Wine might be an option though, but you will have to invoke Ocra using > Wine too. doh. the whole reason i want to do this is so my non-ruby-owning windows-using colleague can have an exe. I guess i'll have to go back to trying to get rubyscript2exe working then. Is there anything else that will work in linux for this, do you know? thanks, max -- Posted via http://www.ruby-forum.com/.