Skip to content

Executable does nothing #184

@blackruby

Description

@blackruby

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions