# File lib/packaging/config.rb, line 113 def load_default_configs default_project_data = File.join(@project_root, "ext", "project_data.yaml") default_build_defaults = File.join(@project_root, "ext", "build_defaults.yaml") [default_project_data, default_build_defaults].each do |config| if File.readable? config self.config_from_yaml(config) else puts "Skipping load of expected default config #{config}, cannot read file." # Since the default configuration files are not readable, most # likely not present, at this point we assume the project_root # isn't what we hoped it would be, and unset it. @project_root = nil end end if @project_root self.config end end