# Current File in Mac

**URL:** <https://www.ruby-forum.com/t/current-file-in-mac/143406>\
**Category:** Ruby\
**Created:** [July 18, 2008, 6:18am UTC](https://www.ruby-forum.com/t/current-file-in-mac/143406 "2008-07-18T06:18:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![superfly](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/48db29/32.png) [@superfly](https://www.ruby-forum.com/u/superfly)\
**Post date:** [July 18, 2008, 6:18am UTC](https://www.ruby-forum.com/t/current-file-in-mac/143406/1 "2008-07-18T06:18:03Z")

</div>

Hello everyone,

On windows you can do something like this and it pulls that file from  
the current file the program is located in.

“/arrays/concept\_art\_t.yaml”

I was wondering if there is anyway to do the same thing on a Mac? So,  
how does anyone know a trick on how to get it to do this?

Thanks!
