[exerb-eng:20] Re: $0 is missing path

Back to archive index

Ronald Pijnacker rhp****@dse*****
Fri Sep 12 14:38:24 JST 2003


Hi,

Assuming my 2nd mail did not get through, I am sending it a second
time... Sorry if you got it twice now. 
Is there any information in english on how to subscribe to the exerb
mailing list? Then I can at least subscribe to that.

> Hi,
> 
> On Tue, 9 Sep 2003 10:42:15 +0200
> Ronald Pijnacker <rhp****@dse*****> wrote:
> 
> > However, when I tried to run my program, I noticed that $0 is not what
> > it used to be.
> please use Exerb.filepath method.
> 
> foo.rb:
>   p(Exerb.filepath)
> 
> foo.rbc
>   script	foo.rb
> 
> $ exerb.rb foo.rbc
> $ ./foo.exe
> "c:\\documents\\personal\\dev\\exerb\\exerb-dev\\tmp\\foo.exe"

Thanks for the reply. However, I do not seem to be able to locate the
filepath method. What do I need to load/require for this?

Is there also some way to do the same without making my script depend on
Exerb? As I said, I would consider this to be a bug...

   Ronald.



More information about the exerb-english mailing list
Back to archive index