Actual directory


#1

Why is used File.dirname(FILE) instead of simply ‘.’ ?


#2

On Oct 14, 1:59 pm, Kless removed_email_address@domain.invalid wrote:

Why is used File.dirname(FILE) instead of simply ‘.’ ?

Cause your current directory ‘.’ is not always the location of the
ruby file, FILE is.