Create .exe from 64-bit to 32-bit compactible?

I’m making a ruby program and I’m using a 64-bit windows but I’m trying
to create an exe file that can run in 32-bit windows.

Is there a program that can help me do that?

I know Ocra can compile a ruby code into exe but will it be 32-bit
compatible if the code is compiled from a 64-bit machine?

Thanks!

I have not tested it, however, I believe it should be if you are using
a 32-bit version of ruby. I.e. make sure you download one of the 32-bit
not 64-bit distributions from rubyinstaller.org. Ocra bundles the Ruby
interpreter installed on your system and your script into an .exe, so as
long as the interpreter on your system is 32-bit, it should be fine.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs