Problem with tar2rubyscript

S

Samuel Caeiro

Hi, im new to RoR, im developing in Linux Ubuntu (9.04) and im having
problems with tar2rubyscript:

my final point of this app is to test the

tar2rubyscript myapp/
rubyscript2exe myapp.rb

so that i can execute the rails application in a windows environment
without installing the whole RoR framework on the windows pc.
after configuring and developing the test application, i try in
terminal:

"tar2rubyscript myapp/" so that i can then do the:
"rubyscript2exe myapp.rb"

but in the tar2rubyscript command i get the folowing error:

"tar2rubyscript mayapp/
/home/<user>/.gem/ruby/1.8/gems/tar2rubyscript-0.4.8/bin/tar2rubyscript:5:in
`replace': can't modify frozen string (TypeError)
from
/home/<user>/.gem/ruby/1.8/gems/tar2rubyscript-0.4.8/bin/tar2rubyscript:5
from /var/lib/gems/1.8/bin/tar2rubyscript:19:in `load'
from /var/lib/gems/1.8/bin/tar2rubyscript:19"

ive already searched, googled, jeronimooed, no luck, i get a lot of
matches in the 'rubyscript2exe' when people expose the problem about
'tar2rubyscript' but still no luck even if doing the solution presented.

thanks in advance, any help?
 
S

Samuel Caeiro

Samuel said:
Hi, im new to RoR, im developing in Linux Ubuntu (9.04) and im having
problems with tar2rubyscript:

my final point of this app is to test the

tar2rubyscript myapp/
rubyscript2exe myapp.rb

so that i can execute the rails application in a windows environment
without installing the whole RoR framework on the windows pc.
after configuring and developing the test application, i try in
terminal:

"tar2rubyscript myapp/" so that i can then do the:
"rubyscript2exe myapp.rb"

but in the tar2rubyscript command i get the folowing error:

"tar2rubyscript mayapp/
/home/<user>/.gem/ruby/1.8/gems/tar2rubyscript-0.4.8/bin/tar2rubyscript:5:in
`replace': can't modify frozen string (TypeError)
from
/home/<user>/.gem/ruby/1.8/gems/tar2rubyscript-0.4.8/bin/tar2rubyscript:5
from /var/lib/gems/1.8/bin/tar2rubyscript:19:in `load'
from /var/lib/gems/1.8/bin/tar2rubyscript:19"

ive already searched, googled, jeronimooed, no luck, i get a lot of
matches in the 'rubyscript2exe' when people expose the problem about
'tar2rubyscript' but still no luck even if doing the solution presented.

thanks in advance, any help?


SOLVED:

don't know why, but the
"/home/<user>/.gem/ruby/1.8/gems/tar2rubyscript-0.4.8/bin/tar2rubyscript"
couldn't have the 'replace' so i replaced it with a '=' and it worked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,479
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top