RUBYSCRIPT2EXE.appdir show the temp dir

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 :frowning:
So I get something like

Any clue how to get the actual .exe path?

Thanks, chr

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs