Gavin Chen wrote in post #1000209:
> First I used "gem install reubyscript2exe" to install
>
> When I use "rubyscript2exe file.rb" it will show below error message
>
> C:/Ruby187/lib/ruby/gems/1.8/rubyscript2exe-0.5.3/bin/rubyscript2exe:5:in
> 'replace':can't modify frozen string (TypeError)
>
> from
> C:/Ruby187/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/bin/rubyscript2exe:5
>
> from C:/Ruby187/bin/rubyscript2exe:19:in 'load'
> from C:/Ruby187/bin/rubyscript2exe:19
>
>
> And I used reubyscript2exe on Hello.rb(just print "hello")
>
> it also show the same error message as above.
>
>
> How do I fix the error message?
>
> Thanks.


The script not only use on windows but also want to use on Linux.

How to create the binary file(such as exe file on win) on linux.

Source code don't show to others.

-- 
Posted via http://www.ruby-forum.com/.