Compile a Ruby script

Now, thanks to the forum, I have my brand-new and shining Ruby script,
which I modified to fit my needs, but I can't convert it into an
executable file. I tried with rubyscript2exe but it throws me an error:
C:\Users\Haukka>rubyscript2exe main.rb
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rubyscript2exe-0.5.3/bin/rubyscript2exe:5:in
`replace': can't modify frozen string (RuntimeError)
        from
C:/Ruby192/lib/ruby/gems/1.9.1/gems/rubyscript2exe-0.5.3/bin/rubysc
ript2exe:5:in `<top (required)>'
        from C:/Ruby192/bin/rubyscript2exe:19:in `load'
        from C:/Ruby192/bin/rubyscript2exe:19:in `<main>'
Can anybody help me, please? Or teach me another compiling method?
Thanks in advance

···

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

Please try Ocra instead:

http://ocra.rubyforge.org/

···

On Jan 23, 8:09 pm, Dark Haukka <lord_dark_hau...@hotmail.com> wrote:

Now, thanks to the forum, I have my brand-new and shining Ruby script,
which I modified to fit my needs, but I can't convert it into an
executable file. I tried with rubyscript2exe but it throws me an error:

--
Luis Lavena

Looks like you have an old version. There is an updated version
available at https://github.com/ryanbooker/rubyscript2exe\. If you
don't feel like building it yourself, there's a pre-built version
available here: http://dl.dropbox.com/u/794169/rubyscript2exe.rb

-jdp

···

On Sun, Jan 23, 2011 at 18:09, Dark Haukka <lord_dark_haukka@hotmail.com> wrote:

Now, thanks to the forum, I have my brand-new and shining Ruby script,
which I modified to fit my needs, but I can't convert it into an
executable file. I tried with rubyscript2exe but it throws me an error:

Thanks everyone ^^ I owe you another. Just a final question: If I use
Shoes (or Netbeans, or any IDE/compiler you like), is there a way to
change this piece of code for another that shows the message and the
question graphically (a window, for us to understand):
puts "All your base are belong to..."
answer = gets
Thanks!!

···

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