However, when I used ocra to package the .rb file into an .exe and ran the .exe, the program crashed.
After disabling certificate verification and repackaging the .exe, the program ran normally.
Although the problem was solved, I am still confused about whether it is an issue with httprb or ocra. I did not continue to investigate and just wanted to share this information here.
I was able to run my GUI program normally under RubyMine. Here is the test code:
However, when I used ocra to package the .rb file into an .exe and ran the .exe, the program crashed.
After disabling certificate verification and repackaging the .exe, the program ran normally.
Although the problem was solved, I am still confused about whether it is an issue with
httprb
orocra
. I did not continue to investigate and just wanted to share this information here.