Can ruby ​​scripts be precompiled into binary files?

I am working on a Ruby script that will need to be deployed on systems without a ruby ​​interpreter. It should work on FreeBSD systems that use the ELF format.

I know that there is a ruby2exe project for compiling ruby ​​scripts to work on Windows, but is it easy to do or do it on other operating systems?

+5
source share
2 answers

Have you checked if Rubinius or JRuby will allow you to precompile your code?

+5
source

-, , Ruby . langauge . ruby2exe Ruby- .

+5

All Articles