[as2api-dev] Re: as2api - 'compile' to one executable file

David Holroyd dave at badgers-in-foil.co.uk
Wed Sep 20 15:13:12 UTC 2006


On Wed, Sep 20, 2006 at 03:54:14PM +0200, Ralf Lindemann wrote:
> Hi Dave, 
> 
> me again ;)
> 
> The project itself runs without any problems, if I "compile" it like
>  >:ruby project.rb
> 
> I do not have the possibility, to test the project on another platform like
> Linux or Apple.
> 
> And, as I wrote before, running rs2exe does not generate any .exe-File.
> 
> I don't know, perhaps I did something wrong, when installing the
> "environment".
> What does your "rubyscript2exe"-enviroment looks like?

I just have a copy of the script dumped in a folder, and then invoke it
on as2api like,

  path\to\ruby.exe -I lib path\to\rubyscript2exe.rb as2api.rb

(The '-I lib' tells Ruby to pick up the source files from the as2api
'lib' folder, which is in the current directory when I run this.)


Do you get some kind of usage message from rubyscript2exe if you just
do,

  path\to\ruby path\to\rubyscript2exe.rb

?


ta,
dave



More information about the as2api-dev mailing list