I know this should be very simple but I can’t for the life of me find
the answer using Pickaxe or Google.
I want to be able to access the location/path of the currently
executing Ruby script. I thought it was a global variable “$” but
looking at the lists I’ve seen I can’t find it.
Your help would be much appreciated.