Andi Idogawa

Results 68 comments of Andi Idogawa

monkeypatch works for me. no guarantees: ``` if defined?(Ocra) # Workaround Innosetup Ocra Bug module Ocra class Pathname def encode(e) to_s.encode(e) end end end end ``` (I also stumbled over...

> Which file you put this? In my code. Just put it after require 'ocra'

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. I can only...

OCRA does only work with Windows or maybe Wine. You seem to be using MacOS

> Hi @Largo I changed the ticket title to reflect the requirement a bit better. > > "problems with ruby 3.1.1 (adding OSX support)" > Thanks, I'm considering adding it...

ocra2 seemed interesting but they still haven't created a github repo. I made a new fork called ocran, which also fixes a new problem with the new rubygems, where kernel_require.rb...

Is it possible that you are running Ruby 2.7.3-1? I'm getting something similar after an upgrade from 2.7.2. I downgraded and it started working again.

Update: I just added all dlls manually using --dll for now. things then work. (dont add libsqlite3-0.dll if you didnt install/need sqlite - more info see below) `--dll libsqlite3-0.dll --dll...

UPDATE: see my fork [ocran](https://github.com/largo/ocran)where this should not be necessary anymore ### Ruby 3.1 Update with sqlite3: ``` call ridk exec pacman -S mingw-w64-x86_64-sqlite3 --noconfirm copy C:\Ruby31-x64\msys64\mingw64\bin\libiconv-2.dll C:\Ruby31-x64\bin copy C:\Ruby31-x64\msys64\mingw64\bin\libsqlite3-0.dll...