Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when running ocran script.rb #30

Open
RP-Guruh opened this issue Dec 19, 2024 · 3 comments
Open

error when running ocran script.rb #30

RP-Guruh opened this issue Dec 19, 2024 · 3 comments

Comments

@RP-Guruh
Copy link

i have simple ruby script, just show puts "hello"

when running ocran script.rb

C:/Ruby33-x64/lib/ruby/gems/3.3.0/gems/ocran-1.3.16/lib/ocran/library_detector.rb:54:in block in loaded_dlls': GetModuleFileNameW failed with error code 0 (RuntimeError)`

Any insights or suggestions on how to fix this issue

@RP-Guruh RP-Guruh changed the title error when running octran script.rb error when running ocran script.rb Dec 19, 2024
@shinokaro
Copy link
Collaborator

Could you please let me know which operating system you are running on?

@RP-Guruh
Copy link
Author

RP-Guruh commented Dec 20, 2024

Could you please let me know which operating system you are running on?

  • windows 11 pro 64-bit
  • ruby version : ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x64-mingw-ucrt]

@shinokaro
Copy link
Collaborator

The error occurs in the part where the DLL is detected. Please try invoking ocran with the --no-autodll option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants