larsch / ocra

One-Click Ruby Application Builder

Home Page:http://ocra.rubyforge.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby 3.1 doesn't bring fiber.so and crashes Ocra

damian-m-g opened this issue · comments

Hi larsch, and guys,

I tried to compile a script today with Ruby 3.1 x64 and with 3.1 x86. Ocra shouts about not finding fiber.so. He says that can't find it in the current directory, but he looks before in the Ruby installation dir.

I'm attaching the comparison of this two folders. I just had to copy-paste the fiber.so of my 3.0 x64 (or x86 respectively) version in the analog folder for 3.1 x64 (or x86 respectively) and the script compiled. I didn't inquire deeper into why that file isn't there, or why is it being required by Ocra.

image

Cheers.

I ran into this bug as well but I don't know where to find the fiber.so file. I don't have any older version of ruby installed. What can I do?

Note for myself: the file belongs to C:\Ruby31-x64\lib\ruby\3.1.0\x64-mingw-ucrt (or similar based on where Ruby is installed)

@enumag here it is for you. For x64.

fiber.zip

I have the same problem here. Any way of solving it without manually doing extrange file pasting movements? (I am creating a tutorial and this sounds very weird) :/

If you want to download the file from another source:
ridk.cmd exec pacman -S mingw-w64-x86_64-ruby

Still need to copy the file to C:\Ruby31-x64\lib\ruby\3.1.0\x64-mingw-ucrt sadly

Is there some better solution for this? The fiber.so from older ruby is likely outdated so it doesn't feel right to use it in newer versions.

Is there some better solution for this? The fiber.so from older ruby is likely outdated so it doesn't feel right to use it in newer versions.

I can only refer you to my fork ocran

I can only refer you to my fork ocran

I actually found out that for ocra it's enough to just create a blank fiber.so file. It's not actually used.

Anyway I ended up using aibika which is another ocra fork. What are the differences between ocran and aibika?