From: Samuel Caeiro Date: 2009-10-29T23:50:40+09:00 Subject: Re: Problem with tar2rubyscript Samuel Caeiro wrote: > 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//.gem/ruby/1.8/gems/tar2rubyscript-0.4.8/bin/tar2rubyscript:5:in > `replace': can't modify frozen string (TypeError) > from > /home//.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//.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. -- Posted via http://www.ruby-forum.com/.