I'm trying the following code

require "rubyscript2exe"

@app_dir        = RUBYSCRIPT2EXE.appdir()

that on compile time works properly, giving me the path to the .rb
script. On run-time though it gives to me the dir where the script is
temporary placed instead of the path to the .exe :(
So I get something like
"C:\DOCUME~1\USER~1\LOCALS~1\Temp\eee.dir.exe/app/....


Any clue how to get the actual .exe path?


Thanks, chr