Rubyscript2exe (sorry, I know) gem won't work at all for me


#1

I’m on a Windows 2k3 machine with new (as of maybe 2 days ago)
installs of Ruby and the rubyscript2exe gem.

I installed the gem, but every time I try to run it I get this error:

C:\Documents and Settings\Administrator\Desktop>rubyscript2exe
C:/Ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin/rubyscript2exe:5:in
rep lace': can't modify frozen string (TypeError) from C:/Ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin/rubyscript2 exe:5 from C:/Ruby/bin/rubyscript2exe:19:inload’
from C:/Ruby/bin/rubyscript2exe:19

Doesn’t matter if I try to compile a .rb script or just run
“rubyscript2exe” all by itself, same error. Is there anything I can do?

Thanks,

N


#2

Kanji Yoshikawa wrote:

C:\Documents and Settings\Administrator\Desktop>rubyscript2exe
C:/Ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin/rubyscript2exe:5:in
rep lace': can't modify frozen string (TypeError) from C:/Ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin/rubyscript2 exe:5 from C:/Ruby/bin/rubyscript2exe:19:inload’
from C:/Ruby/bin/rubyscript2exe:19

I had the same problem. It works with one-click installer
ruby186-26.exe which is ruby-1.8.6-p111. I guess there was some
security patch which broke it.


#3

Perfect. Thanks a million, man.

N

The Higgs bozo wrote:

Kanji Yoshikawa wrote:

C:\Documents and Settings\Administrator\Desktop>rubyscript2exe
C:/Ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin/rubyscript2exe:5:in
rep lace': can't modify frozen string (TypeError) from C:/Ruby/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin/rubyscript2 exe:5 from C:/Ruby/bin/rubyscript2exe:19:inload’
from C:/Ruby/bin/rubyscript2exe:19

I had the same problem. It works with one-click installer
ruby186-26.exe which is ruby-1.8.6-p111. I guess there was some
security patch which broke it.