lib/quke/configuration.rb in quke-0.2.2 vs lib/quke/configuration.rb in quke-0.2.3
- old
+ new
@@ -12,13 +12,10 @@
end
# Returns the expected root location of where Quke expects to find the
# the config file.
def self.file_location
- @file_location ||= File.expand_path(
- "../../#{file_name}",
- File.dirname(__FILE__)
- )
+ @file_location ||= "#{Dir.pwd}/#{file_name}"
end
# Return the file name for the config file, either as set by the user in
# an environment variable called `QCONFIG` or the default of +.config.yml+.
def self.file_name