I'm tweaking a project written in Ruby. I don't want the consumers of the tool having to install anything (such as Ruby itself) so I'm trying to compile the script into an exe file using ocra. However the compiled exe file fails with this error:
error while loading shared libraries: ?: cannot open shared object file: No such file or directory
I tried using --add-all-core
and --gem-full
as those options looked like something that could help adding any missing libraries but it didn't help. How can I fix this?
Note: I've never worked with Ruby before so please try to be a bit more specific with the reply than you would for an experienced Ruby developer.
The issue is that
--add-all-core
doesn't work correctly. Had to use these: