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
C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:1188:in `initialize': No such file or directory @ rb_sysopen - C:/home/x/programming/ruby/src/roebe/bin/fiber.so (Errno::ENOENT)
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:1188:in `open'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:1188:in `createfile'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:898:in `block (2 levels) in build_exe'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:882:in `each'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:882:in `block in build_exe'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:1087:in `block in initialize'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:1071:in `open'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:1071:in `initialize'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:879:in `new'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:879:in `build_exe'
from C:/ruby/lib/ruby/gems/3.1.0/gems/ocra-1.3.11/bin/ocra:1231:in `block in <top (required)>'
This is super confusing. Why would ocra look at a file called fiber.so in the CURRENT working directory?
That is super-weird. Also, it should check whether such a file exists, and then gracefully exit or
notify the user. Right now it seems to not even do a "File.exist?" check or something. But I don't
know the internals well enough to comment. I just think it is odd that it tries to query fiber.so from
the current working directory. I am in the bin/ directory of my own gem, why should any .so file
be there? That makes no sense to me. Can it be that ocra is doing some wrong file query or
path query and gets confused in the process?
The text was updated successfully, but these errors were encountered:
I am trying to turn one of my commandline executable, in ruby, via ocra
on windows into a standalone application.
The project's name is roebe and it is also on rubygems.org.
I start in the directory:
Ok. Next thing I do is this:
That file exists under bin/ and I am in that directory. You can check that
it is also part of the roebe gem as-is by the way, so the file 100% exists.
Some output follow next after doing "ocra roebe":
Ok so far so fine.
Now comes the error:
This is super confusing. Why would ocra look at a file called fiber.so in the CURRENT working directory?
That is super-weird. Also, it should check whether such a file exists, and then gracefully exit or
notify the user. Right now it seems to not even do a "File.exist?" check or something. But I don't
know the internals well enough to comment. I just think it is odd that it tries to query fiber.so from
the current working directory. I am in the bin/ directory of my own gem, why should any .so file
be there? That makes no sense to me. Can it be that ocra is doing some wrong file query or
path query and gets confused in the process?
The text was updated successfully, but these errors were encountered: