Something what I expected and didn’t wanted to happen; HAPPENED!
If you use ocra gem you definitely understand what I’m saying but if you
don’t I’ll explain.
Ocra is a gem that is used to compile a ruby script into executables
The very bad thing is that whenever you try to ocra your script into an
exe it checks dependencies i.e runs the code and until it comes to the
last line of the code and ends it won’t stop, literally, you need to go
to the last line of the code to successfully turn it into an exe file.
The problem is I’m using a loop in my code and I don’t see ocra getting
to the end of my code.
loop = 1
while loop < 100
loop = loop + 1
Now I wouldn’t want to press enter a 100 times so my code can turn into
exe so is there any possible way to avoid this?