Ruby-package program, ruby-Package
1. Download ocra-1.3.1.gem files
2. Open the "start Command prompt with ruby" Command window.
3. Enter "gem install e: \ ocra-1.3.1.gem-l" to install gem, #=> "Successfully installed ocra-1.3.1"
4. Enter "d: \> ocra YouRuby. rb" to start packaging, #=> "Finished building YouRuby.exe"
After packaging, a “YouRuby.exe "execution file of the ruby icon will be generated under the d: \ root directory, which can be executed on a computer without a ruby environment, the necessary environment files should be packed in.
=== Building YouRuby.exe
=== Adding user-supplied source files
=== Adding ruby executable ruby.exe
=== Adding detected dll c:/Ruby193/bin/libffi-6.dll
=== Adding detected dll c:/Ruby193/bin/libyaml-0-2.dll
=== Adding detected dll c:/Ruby193/bin/zlib1.dll
=== Adding library files
=== Compressing 8476770 bytes
=== Finished building YouRuby.exe (1773606 bytes)