You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Windos 11 and ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x64-mingw32]
The source file (sample.rb) has only one line:
puts 'Hello world'
When I run the file with the interpreter (ruby .\sample.rb) all is right.
Compilation is right too (ocra sample.rb) and sample.exe is generated with no erros, but when I run the generated sample.exe nothing happens (no output) . No errors, no warnings, nothing at all, only the new prompt.
The text was updated successfully, but these errors were encountered:
WIth old versions of ruby like 2.5, I do not need to manually add dlls but when I upgrade to 2.7.5, I also need to append dlls even just a "hello world" project.
You can try ocra xxx.rb --dll ruby_builtin_dlls/libssl-1_1-x64.dll --dll ruby_builtin_dlls\libssp-0.dll --dll ruby_builtin_dlls/zlib1.dll --dll ruby_builtin_dlls/libgmp-10.dll
If this cannot solve it, maybe you can include all dlls under C:<ruby_installation>\bin\ruby_builtin_dlls.
I'm using Windos 11 and ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x64-mingw32]
The source file (sample.rb) has only one line:
puts 'Hello world'
When I run the file with the interpreter (ruby .\sample.rb) all is right.
Compilation is right too (ocra sample.rb) and sample.exe is generated with no erros, but when I run the generated sample.exe nothing happens (no output) . No errors, no warnings, nothing at all, only the new prompt.
The text was updated successfully, but these errors were encountered: