D
David Coffield
Hi,
Am trying to get rubyscript2exe to work and get the error shown below.
I've read the posts about this before (changing a line rubyscript2exe
etc) but none of the answers work for me. Can someone suggest what I'm
doing wrong? New to Ruby, by the way...
D:\rubyplay>ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
D:\rubyplay>helloworld.rb
Hello World!
D:\rubyplay>ruby rubyscript2exe-0.5.3.rb helloworld.rb
rubyscript2exe-0.5.3.rb:621:in `replace': can't modify frozen string
(TypeError)
from rubyscript2exe-0.5.3.rb:621
from rubyscript2exe-0.5.3.rb:577:in `newlocation'
from rubyscript2exe-0.5.3.rb:505:in `newlocation'
from rubyscript2exe-0.5.3.rb:472:in `newlocation'
from rubyscript2exe-0.5.3.rb:505:in `newlocation'
from rubyscript2exe-0.5.3.rb:577:in `newlocation'
from rubyscript2exe-0.5.3.rb:619
Many thanks,
Rowantree
Am trying to get rubyscript2exe to work and get the error shown below.
I've read the posts about this before (changing a line rubyscript2exe
etc) but none of the answers work for me. Can someone suggest what I'm
doing wrong? New to Ruby, by the way...
D:\rubyplay>ruby -v
ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
D:\rubyplay>helloworld.rb
Hello World!
D:\rubyplay>ruby rubyscript2exe-0.5.3.rb helloworld.rb
rubyscript2exe-0.5.3.rb:621:in `replace': can't modify frozen string
(TypeError)
from rubyscript2exe-0.5.3.rb:621
from rubyscript2exe-0.5.3.rb:577:in `newlocation'
from rubyscript2exe-0.5.3.rb:505:in `newlocation'
from rubyscript2exe-0.5.3.rb:472:in `newlocation'
from rubyscript2exe-0.5.3.rb:505:in `newlocation'
from rubyscript2exe-0.5.3.rb:577:in `newlocation'
from rubyscript2exe-0.5.3.rb:619
Many thanks,
Rowantree