Created
January 13, 2011 21:14
-
-
Save thecodejunkie/778618 to your computer and use it in GitHub Desktop.
This file contains 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
ARTIFACTS_FOLDER = File.expand_path(File.join(File.dirname(__FILE__), "build")) + '/' |
With that I get a ruby error
NameError: uninitialized constant FILE
gist comments are interpreting the double _ as "bold"
using the _ _ FILE _ _ the way you have it originally... just put the / inside of the "build/"
irb(main):012:0> File.expand_path(File.join(File.dirname(FILE), "build/"))
=> "D:/build"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ARTIFACTS_FOLDER = File.expand_path(File.join(File.dirname(FILE), "build/"))