From: Charlie Openshaw Date: 2009-04-07T00:59:57+09:00 Subject: Re: RubyScript2Exe Lars, Thanks for you post, can I just check a couple of things? 1. You managed to get the iplayer-dl-0.1.15.rb compiled as an exe with rubyscript2exe? 2. Where can i find thie realstuff.rb file that I need to edit, I don't seem to have it. Thanks Charlie Lars Christensen wrote: > On Fri, Apr 3, 2009 at 4:47 PM, The Higgs bozo > wrote: >> Lars Christensen wrote: >>> On Thu, Apr 2, 2009 at 4:49 PM, Charlie Openshaw >>> wrote: >> >> Nah, rubyscript2exe.rb works like a charm. �I assume you are talking >> about the frozen string exception which is a trivial fix (below). > > Sorry, it does work with your fix, but still not via the gem. I need > to invoke realstuff.rb directly. > > The $0 mangling is not working with paths on my setup: > > This script: > > a = > "C:/lang/Ruby-186-27/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/realstuff.rb" > $0 = a > p a > p $0 > > Gives me: > > "C:/lang/Ruby-186-27/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5.3/realstuff.rb" > "C:/lang/Ruby-186-27/lib/ruby/gems/1.8/gems/rubyscript2exe-0.5" > > ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32] -- Posted via http://www.ruby-forum.com/.