Created
October 15, 2013 23:55
-
-
Save tatey/7000507 to your computer and use it in GitHub Desktop.
I am writing a shell script and I want to reference a config file that's relative to the executing script.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File.expand_path('../../../path/to/config/from/this/file', __FILE__) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment