A suggestion: Strip out comments from *.rb files when packaging
When packaging my .rb file into an .exe I get no errors. When trying to run
the exe I get the following errors:
=====
Error in C:/Program Files/Common Files/Shoes/0.r1134/lib/shoes.rb line 394
|
! compile error
myprogram.rb:125: Invalid char `\222' in expression
myprogram.rb:125: Invalid char `\377' in expression
=====

I finally twigged that it was my comments in my program causing this
problem. Stripping out all comments and re-packaging enabled me to build a
exe that worked. I didn't managed to identify exactly what characters in my
comments caused the problem, but I thought "Why not strip them out
automatically on packaging anyway? They aren't needed."

Cheers,

Si



Simon Heywood
Super Up North, UK
i-5-m.net

Reply via email to