[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:02137] Re: Question the sequence in $:

From: matz@... (Yukihiro Matsumoto)
Date: 2000-03-24 16:12:07 UTC
List: ruby-talk #2137
Hi,

In message "[ruby-talk:02135] Re: Question the sequence in $:"
    on 00/03/24, Clemens Hintze <c.hintze@gmx.net> writes:

|> I can understand you.  But `$0' path is not portable.
|
|<put the head out from the hole> Does that mean you like the idea, but
|there are problems with recognizing the correct '$0' value? 
|<vanish again like a flash>

Even though it's not UNIX way to put application related files into
same directory, I understand the intention.  I think

  $LOAD_PATH.unshift File.dirname($0)

will do however.

							matz.

In This Thread

Prev Next